diff options
author | Mike Snitzer <snitzer@redhat.com> | 2012-02-14 00:35:11 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-19 16:39:59 +0100 |
commit | 47ac56db133cb0b6cf3c8b156db854c158fb9dae (patch) | |
tree | f7b203048444d6aad66c24d9285388058e34cc67 /drivers/scsi/hpsa.c | |
parent | [SCSI] sd: Make sure provisioning mode is reported correctly (diff) | |
download | linux-47ac56db133cb0b6cf3c8b156db854c158fb9dae.tar.xz linux-47ac56db133cb0b6cf3c8b156db854c158fb9dae.zip |
[SCSI] scsi_error: classify some ILLEGAL_REQUEST sense as a permanent TARGET_ERROR
Permanent target failures are non-retryable and should be classified as
TARGET_ERROR; otherwise dm-multipath will retry an IO request that will
always fail at the target.
A SCSI command that fails with ILLEGAL_REQUEST sense and Additional
sense 0x20, 0x21, 0x24 or 0x26 represents a permanent TARGET_ERROR.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/hpsa.c')
0 files changed, 0 insertions, 0 deletions