On 06/03/2013 11:40 AM, H. Peter Anvin wrote: > On 06/03/2013 11:35 AM, Martin K. Petersen wrote: >>>>>>> "hpa" == H Peter Anvin <hpa@xxxxxxxxx> writes: >> >> hpa> OK, so the device here says don't do this again, but fails the >> hpa> request anyway expecting the block device to pick up the slack. >> >> Yes, the block layer function will resort to writing out zeroes directly >> in this case. >> >> MD should not consider a rejected WRITE SAME a failure. >> > > Presumably MD should do the same thing that SCSI does: disable > write_same and kick the failure upstack? > Also, given the seriousness of the failure mode, is this something that should be addressed in stable? -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html