• Tejun Heo's avatar
    [BLOCK] noop-iosched: reimplementation of request dispatching · 5a7c47ee
    Tejun Heo authored
    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: default avatarTejun Heo <htejun@gmail.com>
    Signed-off-by: Jens Axboe <axboe@suse.de
noop-iosched.c 2.57 KB