kernel_optimize_test/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 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 block: let elv_register() return void 2007-12-18 08:29:28 +01:00
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 compat_ioctl: move common block ioctls to compat_blkdev_ioctl 2007-10-10 09:26:00 +02:00
Kconfig Only enable BLOCK_COMPAT if COMPAT is needed 2007-10-12 17:58:36 -07:00
Kconfig.iosched update I/O sched Kconfig help texts - CFQ is now default, not AS. 2007-02-17 20:08:22 +01:00
Makefile block: ll_rw_blk.c split, add blk-merge.c 2008-01-29 21:55:12 +01:00
noop-iosched.c block: let elv_register() return void 2007-12-18 08:29:28 +01:00
scsi_ioctl.c block: use jiffies conversion functions in scsi_ioctl.c 2007-12-18 08:29:28 +01:00