linux/block
Jens Axboe 149a051f82 as-iosched: fix double locking bug in as_merged_requests()
If the two requests belong to the same io context, we will attempt
to lock the same lock twice. But swapping contexts is pointless in
that case, so just check for rioc == nioc before doing the double
lock and copy.

Tested-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-01-30 09:11:10 +01:00
..
as-iosched.c as-iosched: fix double locking bug in as_merged_requests() 2008-01-30 09:11:10 +01:00
blk-barrier.c block: continue ll_rw_blk.c splitup 2008-01-29 21:55:08 +01:00
blk-core.c block: ll_rw_blk.c split, add blk-merge.c 2008-01-29 21:55:12 +01:00
blk-exec.c block: continue ll_rw_blk.c splitup 2008-01-29 21:55:08 +01:00
blk-ioc.c block: continue ll_rw_blk.c splitup 2008-01-29 21:55:08 +01:00
blk-map.c block: continue ll_rw_blk.c splitup 2008-01-29 21:55:08 +01:00
blk-merge.c block: ll_rw_blk.c split, add blk-merge.c 2008-01-29 21:55:12 +01:00
blk-settings.c block: continue ll_rw_blk.c splitup 2008-01-29 21:55:08 +01:00
blk-sysfs.c Expose hardware sector size 2008-01-29 21:55:17 +01:00
blk-tag.c
blk.h block: ll_rw_blk.c split, add blk-merge.c 2008-01-29 21:55:12 +01:00
blktrace.c
bsg.c
cfq-iosched.c
compat_ioctl.c
deadline-iosched.c
elevator.c
genhd.c block: constify function pointer tables 2008-01-29 21:55:19 +01:00
ioctl.c
Kconfig
Kconfig.iosched
Makefile block: ll_rw_blk.c split, add blk-merge.c 2008-01-29 21:55:12 +01:00
noop-iosched.c
scsi_ioctl.c