]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
SCSI: scsi_dh_alua: Enable STPG for unavailable ports
authorBart Van Assche <bvanassche@acm.org>
Fri, 24 Aug 2012 09:08:41 +0000 (09:08 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Oct 2012 15:32:29 +0000 (08:32 -0700)
commitead94148559d54f0aae235dda91dfb98dfb1eae7
tree3cd49ad7f47445479e5202a2d62f2c5aa36ff3b7
parentb8d54c01874da4e548a531b77a29c21236ce8a31
SCSI: scsi_dh_alua: Enable STPG for unavailable ports

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 <bvanassche@acm.org>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Acked-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/device_handler/scsi_dh_alua.c