OpenCloudOS-Kernel/drivers/scsi/device_handler
Chandra Seetharaman d685759539 [SCSI] dh_rdac: Associate HBA and storage in rdac_controller to support partitions in storage
rdac hardware handler assumes that there is one-to-one relation ship
between the host and the controller w.r.t lun.  IOW, it does not
support "multiple storage partitions" within a storage.

Example:
HBA1 and HBA2 see lun 0 and 1 in storage A (1)
HBA3 and HBA4 see lun 0 and 1 in storage A (2)
HBA5 and HBA6 see lun 0 and 1 in storage A (3)

luns 0 and 1 in (1), (2) and (3) are totally different.

But, rdac handler treats the lun 0s (and lun 1s) as the same when
sending a mode select to the controller, which is wrong.

This patch makes the rdac hardware handler associate HBA and the
storage w.r.t lun (and not the host itself).

Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2011-07-28 11:38:47 +04:00
..
Kconfig [SCSI] scsi_dh: add generic SPC-3 alua handler 2008-07-26 15:14:52 -04:00
Makefile [SCSI] scsi_dh: add generic SPC-3 alua handler 2008-07-26 15:14:52 -04:00
scsi_dh.c [SCSI] scsi_dh: fix reference counting in scsi_dh_activate error path 2011-04-24 11:02:09 -05:00
scsi_dh_alua.c [SCSI] scsi_dh_alua: Attach to UNAVAILABLE/OFFLINE AAS devices 2011-05-01 12:05:40 -05:00
scsi_dh_emc.c [SCSI] scsi_dh: cosmetic change to sizeof() 2011-02-12 14:13:34 -06:00
scsi_dh_hp_sw.c [SCSI] scsi_dh: cosmetic change to sizeof() 2011-02-12 14:13:34 -06:00
scsi_dh_rdac.c [SCSI] dh_rdac: Associate HBA and storage in rdac_controller to support partitions in storage 2011-07-28 11:38:47 +04:00