Re: "Fix ATAPI transfer lengths" causes CD writing regression

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeff Garzik <jeff@...>
Cc: Jens Axboe <jens.axboe@...>, Alan Cox <alan@...>, linux list <linux-kernel@...>, <linux-ide@...>
Date: Wednesday, October 31, 2007 - 12:34 pm

Jeff Garzik wrote:

Is it "invalid" though? As a SCSI command, it seems perfectly valid to 
ask for less data than the total amount the drive could possibly send.

It's only when we have to translate it to an ATA command in libata that 
it becomes invalid there, right?

Are you saying that we should limit the SG_IO commands to only ones that 
are valid both as SCSI *and* as their ATA translations? Would that be 
for all SCSI devices, or just ones that libata backs?

Daniel
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
"Fix ATAPI transfer lengths" causes CD writing regression, Daniel Drake, (Tue Oct 30, 11:14 am)
Re: "Fix ATAPI transfer lengths" causes CD writing regression, Daniel Drake, (Wed Oct 31, 12:34 pm)