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)
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

Simple merge