projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SCSI] scsi_dh_alua: Enable STPG for unavailable ports
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
scsi
/
device_handler
/
scsi_dh_alua.c
diff --git
a/drivers/scsi/device_handler/scsi_dh_alua.c
b/drivers/scsi/device_handler/scsi_dh_alua.c
index 08d80a6d272a0c255541b445a97c13e147122e0d..6f4d8e6f32f15da12101c814e0f71179acf8196b 100644
(file)
--- a/
drivers/scsi/device_handler/scsi_dh_alua.c
+++ b/
drivers/scsi/device_handler/scsi_dh_alua.c
@@
-641,8
+641,7
@@
static int alua_rtpg(struct scsi_device *sdev, struct alua_dh_data *h)
h->state = TPGS_STATE_STANDBY;
break;
case TPGS_STATE_OFFLINE:
- case TPGS_STATE_UNAVAILABLE:
- /* Path unusable for unavailable/offline */
+ /* Path unusable */
err = SCSI_DH_DEV_OFFLINED;
break;
default: