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)
commit3bc217ffe6774e7971d6a7ce6350ce806ebab044
treeb1ccad14a0c23f12248092feb867d2e311db59f0
parent8bdd3f8a6993fef2f364aca6e1a59559405773a2
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