]> git.baikalelectronics.ru Git - kernel.git/commit
block: kill swap_io_context()
authorJens Axboe <jens.axboe@oracle.com>
Fri, 1 Feb 2008 10:34:49 +0000 (11:34 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 1 Feb 2008 10:34:49 +0000 (11:34 +0100)
commit76b2598bf07af4ebc5333e499e669b4d8705228c
treeb1ccad14a0c23f12248092feb867d2e311db59f0
parentd0710d232e36d738bddaeb2fd2afed62629d9532
block: kill swap_io_context()

It blindly copies everything in the io_context, including the lock.
That doesn't work so well for either lock ordering or lockdep.

There seems zero point in swapping io contexts on a request to request
merge, so the best point of action is to just remove it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/as-iosched.c
block/blk-ioc.c
include/linux/blkdev.h