Hello Martin, A recent change in the SCSI core caused certain request failures no longer to be reported to user space. Damien noticed this by sending a write request that is not aligned to the write pointer to an SMR drive from user space. Such non-aligned write requests are failed by the drive and such failures should be reported to user space. This patch series makes sure that all SCSI request failures are again reported to user space. This patch series also makes the SCSI core recognize status codes like CONDITION MET as not being an error. Please consider at least the first patch in this series for the rc stage of kernel v4.17. Thanks, Bart. Changes compared to v2: - Split the single v2 patch into two patches: one revert with a cc: stable tag and another patch that translates CONDITION MET into BLK_STS_OK. - Added a third patch that renames __scsi_error_from_host_byte() into scsi_result_to_blk_status(). Changes compared to v1: - Modified __scsi_error_from_host_byte() such that it again returns BLK_STS_OK for CONDITION MET and other result codes that represent success. Bart Van Assche (3): Revert "scsi: core: return BLK_STS_OK for DID_OK in __scsi_error_from_host_byte()" Rename __scsi_error_from_host_byte() into scsi_result_to_blk_status() Make scsi_result_to_blk_status() recognize CONDITION MET drivers/scsi/scsi_lib.c | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) -- 2.16.2