On Wed, 6 Dec 2006, Mike Christie wrote:

> Alternatively, if we do start not checking values like max sectors and
> send requests down to the drivers, the block layer mapping functions can
> be modified to not check certain values and LLDs/scsi-ml can return
> these BLKERR values all the way up to sg/bsg/scsi_ioctl.c for values
> that they need to check.

I bet in many cases the LLD depends on the higher layers to filter out 
transfers that are too large.  Duplicating all those tests in all the LLDs 
seems like a waste.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to