original_kernel/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
..
Kconfig
Kconfig.iosched
Makefile block: ll_rw_blk.c split, add blk-merge.c 2008-01-29 21:55:12 +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 block: split tag and sysfs handling from blk-core.c 2008-01-29 21:55:07 +01:00
blk.h block: ll_rw_blk.c split, add blk-merge.c 2008-01-29 21:55:12 +01:00
blktrace.c blktrace: Add blktrace ioctls to SCSI generic devices 2008-01-28 10:04:46 +01:00
bsg.c [SCSI] libsas, bsg: pass errors through correctly 2008-01-11 18:29:13 -06:00
cfq-iosched.c cfq-iosched: kill some big inlines 2008-01-28 13:19:43 +01:00
compat_ioctl.c blktrace: Add blktrace ioctls to SCSI generic devices 2008-01-28 10:04:46 +01:00
deadline-iosched.c
elevator.c block: implement drain buffers 2008-01-28 10:54:11 +01:00
genhd.c block: constify function pointer tables 2008-01-29 21:55:19 +01:00
ioctl.c
noop-iosched.c
scsi_ioctl.c