Please consider applying
commit 4a067cf823d9d8e50d41cfb618011c0d4a969c72 scsi: core: reset host byte in DID_NEXUS_FAILURE case
to the stable trees. Kernels 4.13 and newer need this patch. Without the patch, certain SCSI commands may return unexpected error codes, breaking e.g. the error handling of sg3_utils.
Fixes: 2a842acab109 "block: introduce new block status code type"
Thanks, Martin