[8689] in linux-scsi channel archive
(Fwd) (Fwd) Re: sc_data_direction -- will we require it?
daemon@ATHENA.MIT.EDU (gms@worksta.com)
Fri Apr 21 07:30:00 2000
Message-Id: <10004211131.AA13334@sporky.worksta.com>
From: gms@worksta.com
To: linux-scsi@vger.rutgers.edu
Date: Fri, 21 Apr 2000 07:25:00 +0000
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
dgilbert@interlog.com wrote:
>
> > On reflection, the data direction hint that apps give to the pass
> > through mechanisms should be an accurate indicator.
here here.
let me reiterate my earlier protestation. sg is a gender-neutral
conduit by which a user-space program can send commands
and data to a device and receive status and data back.
if someone is programming at this level and doesn't know
in which direction data is supposed to flow, then he or she
is programming at the wrong level and is very likely in the wrong
profession.
as soon as one starts building "general-purpose" tables into
sg or lower levels, one is left with yet another maintenance
headache and something that is bound to be wrong for one
or other application.
-gms
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu