aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/device_handler/scsi_dh_hp_sw.c
diff options
context:
space:
mode:
authorChandra Seetharaman <sekharan@us.ibm.com>2009-10-21 09:22:51 -0700
committerJames Bottomley <James.Bottomley@suse.de>2009-12-04 12:00:47 -0600
commit970f3f47e7c97c0bfe9f91356943b55ac389cb1d (patch)
treedab9946544c452937d165239df74d667d16bddf9 /drivers/scsi/device_handler/scsi_dh_hp_sw.c
parent[SCSI] scsi_dh: Change the scsidh_activate interface to be asynchronous (diff)
downloadlinux-dev-970f3f47e7c97c0bfe9f91356943b55ac389cb1d.tar.xz
linux-dev-970f3f47e7c97c0bfe9f91356943b55ac389cb1d.zip
[SCSI] scsi_dh: Make rdac hardware handler's activate() async
Batch up MODE_SELECT in rdac device handler. LSI RDAC storage has the capability of handling mode selects for multiple luns in a same command. Make use of that ability to send as few MODE SELECTs as possible to the storage controller as possible. This patch creates a work queue and queues up activate requests when a MODE SELECT is sent down the wire. When that MODE SELECT completes, it compiles queued up activate requests for multiple luns into a single MODE SELECT. This reduces the time to do failover/failback of large number of LUNS. Signed-off-by: Babu Moger <babu.moger@lsi.com> Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions