cfq-iosched: get rid of ->cur_rr and ->cfq_list
authorJens Axboe <jens.axboe@oracle.com>
Thu, 19 Apr 2007 10:03:34 +0000 (12:03 +0200)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Mon, 30 Apr 2007 07:01:22 +0000 (09:01 +0200)
commitedd75ffd92a5b7f6244431e8ff6c32b846f9ba86
treea6b8d9be552f7eeb36a66693339d3ea840f2904e
parent67e6b49e39e9b9bf5ce1351ef21dad391856183f
cfq-iosched: get rid of ->cur_rr and ->cfq_list

It's only used for preemption now that the IDLE and RT queues also
use the rbtree. If we pass an 'add_front' variable to
cfq_service_tree_add(), we can set ->rb_key to 0 to force insertion
at the front of the tree.

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