kernel-ark/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
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
blk-ioc.c
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
blk-sysfs.c
blk-tag.c
blk.h
blktrace.c blktrace: Add blktrace ioctls to SCSI generic devices 2008-01-28 10:04:46 +01:00
bsg.c
cfq-iosched.c
compat_ioctl.c
deadline-iosched.c
elevator.c
genhd.c
ioctl.c
Kconfig
Kconfig.iosched
Makefile
noop-iosched.c
scsi_ioctl.c