summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorShaohua Li2014-04-09 05:27:42 +0200
committerNeilBrown2014-04-09 06:42:42 +0200
commite240c1839d11152b0355442f8ac6d2d2d921be36 (patch)
treebb2f80fd9a3be90a710e2e2053c246ff1dedf6f7 /drivers/scsi
parentraid5: make_request does less prepare wait (diff)
downloadkernel-qcow2-linux-e240c1839d11152b0355442f8ac6d2d2d921be36.tar.gz
kernel-qcow2-linux-e240c1839d11152b0355442f8ac6d2d2d921be36.tar.xz
kernel-qcow2-linux-e240c1839d11152b0355442f8ac6d2d2d921be36.zip
raid5: get_active_stripe avoids device_lock
For sequential workload (or request size big workload), get_active_stripe can find cached stripe. In this case, we always hold device_lock, which exposes a lot of lock contention for such workload. If stripe count isn't 0, we don't need hold the lock actually, since we just increase its count. And this is the hot code path for such workload. Unfortunately we must delete the BUG_ON. Signed-off-by: Shaohua Li <shli@fusionio.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions