diff options
author | Jens Axboe <axboe@suse.de> | 2006-07-13 11:55:04 +0200 |
---|---|---|
committer | Jens Axboe <axboe@nelson.home.kernel.dk> | 2006-09-30 20:26:57 +0200 |
commit | 2e662b65f05d550b6799ed6bfa9963b82279e6b7 (patch) | |
tree | 82911ec73a52d149d74a3d13c3c5eedb269a19cb /block/as-iosched.c | |
parent | [PATCH] rbtree: fixed reversed RB_EMPTY_NODE and rb_next/prev (diff) | |
download | linux-2e662b65f05d550b6799ed6bfa9963b82279e6b7.tar.xz linux-2e662b65f05d550b6799ed6bfa9963b82279e6b7.zip |
[PATCH] elevator: abstract out the rbtree sort handling
The rbtree sort/lookup/reposition logic is mostly duplicated in
cfq/deadline/as, so move it to the elevator core. The io schedulers
still provide the actual rb root, as we don't want to impose any sort
of specific handling on the schedulers.
Introduce the helpers and rb_node in struct request to help migrate the
IO schedulers.
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'block/as-iosched.c')
0 files changed, 0 insertions, 0 deletions