On Sat, 22 Mar 2003, Matthew Dharm wrote:
>
> This patch changes how devices a probed on a SCSI bus if they are on an
> emulated host.
I really think this is wrong. I'd much much rather get _rid_ of that
stupid "emulated" flag, instead of adding meaning to it.
> If a host is emulated, we (a) don't ask for EVPD data, as it's likely not
> there, (b) assume that we have only 36-bytes of INQUIRY data, and (c) don't
> ask disks for their cache-type (assume write-through).
..and thus anything that wants to emulate SCSI has to never be able to be
write-back again.
Now, I'd say that it is stupid to call yourself a SCSI disk if you aren't
one _anyway_ (the raw block device interfaces are simpler and faster), but
if you do, then I think it's doubly stupid to put in arbitrary
restrictions like this.
If there are known commands that devices have trouble with (whether
emulated or not), maybe we could have helper routines to do some default
filtering, and have the queuecommand function check those. But this just
looks ugly and hacky to me.
Linus
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel