block: split the queuing side locking into per-context
authorJens Axboe <jaxboe@fusionio.com>
Fri, 1 Oct 2010 19:28:04 +0000 (21:28 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 15 Nov 2010 12:34:45 +0000 (13:34 +0100)
commit4712def348318c8ced45077189281701c9347785
treeb57e0cf6a486eca4cd4a2724d75dd2ea719d9f1e
parente043b565ce5629e62de5fd75154e1c5217a4bd9c
block: split the queuing side locking into per-context

This lets parallel IO queuers operate in parallel. Completion
side is also per-context, no need to hold the full queue lock
there.

Dispatch currently requires nesting of the individual context
locks within the queue lock.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-core.c
block/elevator.c
block/noop-iosched.c