OSDN Git Service

[SCSI] scsi_dh_alua: Attach to UNAVAILABLE/OFFLINE AAS devices
authorMartin George <marting@netapp.com>
Tue, 26 Apr 2011 12:57:05 +0000 (18:27 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 1 May 2011 17:05:40 +0000 (12:05 -0500)
commitc0d289b3e59577532c45ee9110ef81bd7b341272
treef5297f9bc5a6fc65d6d0fc7951e70aad8914d656
parentcbc78ae73bcab6b3277977a6a30e74d1be3cedfa
[SCSI] scsi_dh_alua: Attach to UNAVAILABLE/OFFLINE AAS devices

The SCSI ALUA handler currently fails to attach to devices
reporting an UNAVAILABLE/OFFLINE AAS. But given that an
UNAVAILABLE/OFFLINE AAS can transition to other states
like ACTIVE/OPTIMIZED, ACTIVE/NON-OPTIMIZED, etc. as per
SPC4, this ALUA handler behavior should be rectified so
as to attach to devices which also report an
UNAVAILABLE/OFFLINE AAS.

Signed-off-by: Martin George <marting@netapp.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/device_handler/scsi_dh_alua.c