On Thu, 7 Dec 2006, Joerg Schilling wrote:

> Alan Stern <[EMAIL PROTECTED]> 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?

I will.  If everything goes well then BLKSECTGET will be made to work with 
the SCSI-Generic interface as well as with the usual block device files, 
so you'll be able to use it with any file descriptor for a CD or DVD 
drive.

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