This is a note to let you know that I've just added the patch titled
SCSI: scsi_dh_alua: Enable STPG for unavailable ports
to the 3.5-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
scsi-scsi_dh_alua-enable-stpg-for-unavailable-ports.patch
and it can be found in the queue-3.5 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From e47f8976d8e573928824a06748f7bc82c58d747f Mon Sep 17 00:00:00 2001
From: Bart Van Assche <[email protected]>
Date: Fri, 24 Aug 2012 09:08:41 +0000
Subject: SCSI: scsi_dh_alua: Enable STPG for unavailable ports
From: Bart Van Assche <[email protected]>
commit e47f8976d8e573928824a06748f7bc82c58d747f upstream.
A quote from SPC-4: "While in the unavailable primary target port
asymmetric access state, the device server shall support those of
the following commands that it supports while in the active/optimized
state: [ ... ] d) SET TARGET PORT GROUPS; [ ... ]". Hence enable
sending STPG to a target port group that is in the unavailable state.
Signed-off-by: Bart Van Assche <[email protected]>
Reviewed-by: Mike Christie <[email protected]>
Acked-by: Hannes Reinecke <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/scsi/device_handler/scsi_dh_alua.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- a/drivers/scsi/device_handler/scsi_dh_alua.c
+++ b/drivers/scsi/device_handler/scsi_dh_alua.c
@@ -590,8 +590,7 @@ static int alua_rtpg(struct scsi_device
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:
Patches currently in stable-queue which might be from [email protected] are
queue-3.5/ib-srp-fix-use-after-free-in-srp_reset_req.patch
queue-3.5/ib-srp-avoid-having-aborted-requests-hang.patch
queue-3.5/scsi-scsi_dh_alua-enable-stpg-for-unavailable-ports.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html