From: Chandra Seetharaman Date: Wed, 21 Oct 2009 16:22:51 +0000 (-0700) Subject: [SCSI] scsi_dh: Make rdac hardware handler's activate() async X-Git-Tag: v2.6.33-rc1~344^2~131 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=970f3f47e7c97c0bfe9f91356943b55ac389cb1d;p=pandora-kernel.git [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 Signed-off-by: Chandra Seetharaman Signed-off-by: James Bottomley --- Reading git-diff-tree failed