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>
This commit is contained in:

committed by
Martin K. Petersen

parent
358fda5ff4
commit
29cfc2ab71
@@ -38,6 +38,7 @@
|
||||
#include <scsi/scsi_host.h>
|
||||
#include <scsi/scsi_ioctl.h>
|
||||
#include <scsi/scsi_dh.h>
|
||||
#include <scsi/scsi_devinfo.h>
|
||||
#include <scsi/sg.h>
|
||||
|
||||
#include "scsi_priv.h"
|
||||
@@ -525,6 +526,9 @@ int scsi_check_sense(struct scsi_cmnd *scmd)
|
||||
if (sshdr.asc == 0x10) /* DIF */
|
||||
return SUCCESS;
|
||||
|
||||
if (sshdr.asc == 0x44 && sdev->sdev_bflags & BLIST_RETRY_ITF)
|
||||
return ADD_TO_MLQUEUE;
|
||||
|
||||
return NEEDS_RETRY;
|
||||
case NOT_READY:
|
||||
case UNIT_ATTENTION:
|
||||
|
Reference in New Issue
Block a user