This is the writesame issue fix reported in bugzilla 118581. Sitsofe doesn't reply to me if he tested these, but they do work for me with a scsi_debug test. I'm going to apply them for 4.11 if no objection. Shaohua Li (2): md: disable WRITE SAME if it fails for linear/raid0 md/multipath: disable WRITE SAME if it fails for multipath drivers/md/linear.c | 6 +++++- drivers/md/md.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ drivers/md/md.h | 2 ++ drivers/md/multipath.c | 4 ++++ drivers/md/raid0.c | 6 +++++- 5 files changed, 61 insertions(+), 2 deletions(-) -- 2.9.3 -- 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