summaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss_scsi.c
diff options
context:
space:
mode:
authorSteven Noonan2012-02-17 21:04:44 +0100
committerJens Axboe2012-03-20 12:52:41 +0100
commit3467811e26660eb46bc655234573d22d6876d5f9 (patch)
treeb57b2cdc3d373af79062bc26cd71500773c64fb5 /drivers/block/cciss_scsi.c
parentxen/blkfront: don't put bdev right after getting it (diff)
downloadkernel-qcow2-linux-3467811e26660eb46bc655234573d22d6876d5f9.tar.gz
kernel-qcow2-linux-3467811e26660eb46bc655234573d22d6876d5f9.tar.xz
kernel-qcow2-linux-3467811e26660eb46bc655234573d22d6876d5f9.zip
xen-blkfront: make blkif_io_lock spinlock per-device
This patch moves the global blkif_io_lock to the per-device structure. The spinlock seems to exists for two reasons: to disable IRQs when in the interrupt handlers for blkfront, and to protect the blkfront VBDs when a detachment is requested. Having a global blkif_io_lock doesn't make sense given the use case, and it drastically hinders performance due to contention. All VBDs with pending IOs have to take the lock in order to get work done, which serializes everything pretty badly. Signed-off-by: Steven Noonan <snoonan@amazon.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/block/cciss_scsi.c')
0 files changed, 0 insertions, 0 deletions