cfq-iosched: abstract out the 'may this cfqq dispatch' logic
authorJens Axboe <jens.axboe@oracle.com>
Tue, 6 Oct 2009 18:49:37 +0000 (20:49 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 6 Oct 2009 18:49:37 +0000 (20:49 +0200)
commit0b182d617eb50762b483658dd6dd9a9fbcb25758
tree28c7084cb5566cb26e5c6f96b3c055304afcbbbf
parent1b59dd511b9a36d4be3c01d7c7024aeec36dc651
cfq-iosched: abstract out the 'may this cfqq dispatch' logic

Makes the whole thing easier to read, cfq_dispatch_requests() was
a bit messy before.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/cfq-iosched.c