[BLOCK] noop-iosched: reimplementation of request dispatching
authorTejun Heo <htejun@gmail.com>
Thu, 10 Nov 2005 17:21:30 +0000 (18:21 +0100)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Sat, 12 Nov 2005 09:56:52 +0000 (10:56 +0100)
commit5a7c47eefb31f6b4982add7473ef3e551b058ea4
tree6bff2f1ab58080d759c8788680e05359ba0d5f69
parentb740d98f5614e34b4cff2e1e67826f007c8d4f30
[BLOCK] noop-iosched: reimplementation of request dispatching

The original implementation directly used dispatch queue.  As new
generic dispatch queue imposes stricter rules over ioscheds and
dispatch queue usage, this direct use becomes somewhat problematic.
This patch reimplements noop-iosched such that it complies to generic
iosched model better.  Request merging with q->last_merge and
rq->queuelist.prev/next work again now.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jens Axboe <axboe@suse.de
block/noop-iosched.c