[SCSI] hpsa: refine interrupt handler locking for greater concurrency
authorMatt Gates <matthew.gates@hp.com>
Tue, 1 May 2012 16:43:11 +0000 (11:43 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 10 May 2012 08:17:26 +0000 (09:17 +0100)
commite16a33adc0e59aa96a483fd2923d77e674f013c1
tree832c2b44baa4dd48553d156b0340dfcc5bbee624
parent254f796b9f22b1944c64caabc356a56caaa2facd
[SCSI] hpsa: refine interrupt handler locking for greater concurrency

Use spinlocks with finer granularity in the submission and
completion paths to allow concurrent execution for multiple
reply queues.  In particular, do not hold a spin lock while
submitting a request to the device, nor during most of the
interrupt handler.

Signed-off-by: Matt Gates <matthew.gates@hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/hpsa.c
drivers/scsi/hpsa.h