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

James Bottomley
2003-01-06T21:03:39Z

luben@splentec.com said:
> bytes_got = max(bytes_requested - cmd->resid, 0);
[...]
> /* let's rely on the transport to have correctly set */
> /* cmd->resid and report a broken device server */
> </insert code here/>

I'm afraid that for a large number of HBAs in the tree SCpnt->resid just isn't
reliable (nothing ever needed it, and it's overhead to compute, so they didn't
bother).

James