diff options
author | Chandra Seetharaman <sekharan@us.ibm.com> | 2009-10-21 09:22:51 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 12:00:47 -0600 |
commit | 970f3f47e7c97c0bfe9f91356943b55ac389cb1d (patch) | |
tree | dab9946544c452937d165239df74d667d16bddf9 /drivers/message | |
parent | 3ae31f6a7b6e442fc6a92f29330fbad230dc3992 (diff) | |
download | op-kernel-dev-970f3f47e7c97c0bfe9f91356943b55ac389cb1d.zip op-kernel-dev-970f3f47e7c97c0bfe9f91356943b55ac389cb1d.tar.gz |
[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 'drivers/message')
0 files changed, 0 insertions, 0 deletions