cfq-iosched: make io priorities inherit CPU scheduling class as well as nice
authorJens Axboe <jens.axboe@oracle.com>
Wed, 7 May 2008 07:51:23 +0000 (09:51 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 7 May 2008 07:51:23 +0000 (09:51 +0200)
commit6d63c275572d1e6f00d4fa154f16fbb0d8c2d2bf
tree715f4bab902f117c958a929e44cd0b2257e3be29
parentdbaf2c003e151ad9231778819b0977f95e20e06f
cfq-iosched: make io priorities inherit CPU scheduling class as well as nice

We currently set all processes to the best-effort scheduling class,
regardless of what CPU scheduling class they belong to. Improve that
so that we correctly track idle and rt scheduling classes as well.

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