]> www.infradead.org Git - users/jedix/linux-maple.git/commit
[SCSI] dh_rdac: Associate HBA and storage in rdac_controller to support partitions...
authorChandra Seetharaman <sekharan@us.ibm.com>
Wed, 27 Jul 2011 18:22:56 +0000 (11:22 -0700)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Fri, 11 May 2012 00:09:00 +0000 (17:09 -0700)
commit84b5dbf790460ec83fbe837b03f86a37b1b30afc
tree6a3f880aec6626f2c0043e9ebeb9d2d45cc63287
parent29f26d5890a72d925bc3a100a872667ae31f746d
[SCSI] dh_rdac: Associate HBA and storage in rdac_controller to support partitions in storage

Orabug: 14059970
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>
drivers/scsi/device_handler/scsi_dh_rdac.c