Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote: > 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. Once you are done with the implementation details, could you tell me what you decided to add for the final implementation? Jörg -- EMail:joerg@xxxxxxxxxxxxxxxxxxxxxxxxxxx (home) Jörg Schilling D-13353 Berlin js@xxxxxxxxxxxxxxx (uni) schilling@xxxxxxxxxxxxxxxxxxx (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html