[SCSI] scsi_dh_alua: Re-enable STPG for unavailable ports
authorBart Van Assche <bvanassche@acm.org>
Fri, 22 Jun 2012 08:49:38 +0000 (08:49 +0000)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 20 Jul 2012 07:58:36 +0000 (08:58 +0100)
commitbb2c94a3a6ad37fe7d34f369295bcdf5387e264f
tree75b8a2798d98cbd8062e39f1197006a32fcd2e14
parentefb6c717b764e77cadc20bc9d9ffdf16bc1eedf5
[SCSI] scsi_dh_alua: Re-enable STPG for unavailable ports

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 re-enable
sending STPG to a target port group that is in the unavailable state.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Babu Moger <babu.moger@netapp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/device_handler/scsi_dh_alua.c