Re: [linux-usb-devel] Re: inquiry in scsi_scan.c

Doug Ledford
2003-01-06T22:07:43Z

On Mon, Jan 06, 2003 at 04:16:19PM -0500, Luben Tuikov wrote:
> Matthew Dharm wrote:
> >I'm told this is a bad idea because there are some HBA which snoop the
> >INQUIRY data. Since I don't know how that snooping works, I can't comment
> >further.
>
> I do, in my own LLDDs. If anything the additional length might increase.
> Others snoop it for their own awareness of the device and personal gains
> to possibly result in better service to the actual device.
>
> I cannot see how this could fail.

This can't fail. Luben's right here. If the lldd is snooping INQUIRY
response, then the lldd is responsible for knowing how much it actually
transferred and the scsi mid layer is not on the hook for telling it
anything. We are free to play our "try different INQUIRY lengths" games
at the mid level and ignore any lldd snooping entirely.

--
Doug Ledford <dledford@redhat.com> 919-754-3700 x44233
Red Hat, Inc.
1801 Varsity Dr.
Raleigh, NC 27606