]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf870f03b4a7412162c96dc57df9750a313c4df08
tree832c2b44baa4dd48553d156b0340dfcc5bbee624
parent6fb0e68cf0efc4e0aaeda33cdd178f4296b0f7fa
[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