1 Subject: Initialize path state to be passive when path is not owned
2 From: Chandra Seetharaman <sekharan@us.ibm.com>
3 Date: Thu Nov 20 14:14:39 2008 +0100:
6 Set the path state to be passive when we learn that the controller does
7 not own the path to the LUN.
9 This will avoid sending even a single i/o thru the passive path at the
12 Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
13 Signed-off-by: Hannes Reinecke <hare@suse.de>
16 drivers/scsi/device_handler/scsi_dh_rdac.c | 3 +++
17 1 file changed, 3 insertions(+)
19 --- a/drivers/scsi/device_handler/scsi_dh_rdac.c
20 +++ b/drivers/scsi/device_handler/scsi_dh_rdac.c
21 @@ -403,6 +403,9 @@ static int check_ownership(struct scsi_d
25 + if (h->lun_state == RDAC_LUN_UNOWNED)
26 + h->state = RDAC_STATE_PASSIVE;