[SCSI] scsi_dh_alua: Handle all states correctly
authorHannes Reinecke <hare@suse.de>
Fri, 24 Sep 2010 13:57:04 +0000 (15:57 +0200)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 7 Oct 2010 22:22:22 +0000 (17:22 -0500)
commit69723d178da97b09ae8996f60fbf2f0cf68d6d61
treeaef50073d685f31de4fc84e060dc59e8549e78b1
parente27d6169c79e3c75edc74a14424a7856e7ff487c
[SCSI] scsi_dh_alua: Handle all states correctly

For ALUA we should be handling all states, independent of whether
the mode is explicit or implicit. For 'Transitioning' we should retry
for a certain amount of time; after that we're setting the port
to 'Standby' and return SCSI_DH_RETRY to signal upper layers
a retry is in order here.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Acked-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/device_handler/scsi_dh_alua.c