>BTW I noticed that the block layer reads "around" a medium >error. Say 8 KB is being read and a medium error occurs >(and the info field is set to the lba of the first failure) >then several small reads are done to reconstruct as much >of the original 8 KB as possible (probably with a block of >zeroes corresponding to the medium error).
The only way that makes sense is if the 8K I/O was in service of multiple block requests and the block layer is separating them and retrying in order to fail the smallest possible set of them. The block layer's upper interface doesn't provide a means to indicate that the middle of a request failed, and it certainly isn't going to substitute zeroes for the requested data and call it successful. - 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

