diff options
author | Martin Wilck <mwilck@suse.com> | 2018-04-18 01:35:10 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-04-20 19:14:36 -0400 |
commit | 29cfc2ab71d9642c2f4fda6cd278309cc253ff82 (patch) | |
tree | d0e5a59c4a4ff37157d8077a7b2bbbcf9d596fa9 /include/scsi/scsi_devinfo.h | |
parent | 358fda5ff4c441dfa6e66fd3b1f7d8f882ecba8f (diff) | |
download | linux-29cfc2ab71d9642c2f4fda6cd278309cc253ff82.tar.bz2 |
scsi: devinfo: add BLIST_RETRY_ITF for EMC Symmetrix
EMC Symmetrix returns 'internal target error' for a variety of
conditions, most of which will be transient. So we should always retry
it, even with failfast set. Otherwise we'd get spurious path flaps with
multipath.
Signed-off-by: Martin Wilck <mwilck@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi/scsi_devinfo.h')
-rw-r--r-- | include/scsi/scsi_devinfo.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/scsi/scsi_devinfo.h b/include/scsi/scsi_devinfo.h index 3434e143feff..91a327edf1fa 100644 --- a/include/scsi/scsi_devinfo.h +++ b/include/scsi/scsi_devinfo.h @@ -63,8 +63,10 @@ #define BLIST_MAX_1024 ((__force blist_flags_t)(1ULL << 30)) /* Use UNMAP limit for WRITE SAME */ #define BLIST_UNMAP_LIMIT_WS ((__force blist_flags_t)(1ULL << 31)) +/* Always retry ABORTED_COMMAND with Internal Target Failure */ +#define BLIST_RETRY_ITF ((__force blist_flags_t)(1ULL << 32)) -#define __BLIST_LAST_USED BLIST_UNMAP_LIMIT_WS +#define __BLIST_LAST_USED BLIST_RETRY_ITF #define __BLIST_HIGH_UNUSED (~(__BLIST_LAST_USED | \ (__force blist_flags_t) \ |