diff options
author | Jens Axboe <axboe@suse.de> | 2006-07-28 09:23:08 +0200 |
---|---|---|
committer | Jens Axboe <axboe@nelson.home.kernel.dk> | 2006-09-30 20:26:56 +0200 |
commit | 9817064b68fef7e4580c6df1ea597e106b9ff88b (patch) | |
tree | 76c27990626247613e9efa45b792d51ad79635d7 /lib/rbtree.c | |
parent | 4aff5e2333c9a1609662f2091f55c3f6fffdad36 (diff) | |
download | lwn-9817064b68fef7e4580c6df1ea597e106b9ff88b.tar.gz lwn-9817064b68fef7e4580c6df1ea597e106b9ff88b.zip |
[PATCH] elevator: move the backmerging logic into the elevator core
Right now, every IO scheduler implements its own backmerging (except for
noop, which does no merging). That results in duplicated code for
essentially the same operation, which is never a good thing. This patch
moves the backmerging out of the io schedulers and into the elevator
core. We save 1.6kb of text and as a bonus get backmerging for noop as
well. Win-win!
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'lib/rbtree.c')
0 files changed, 0 insertions, 0 deletions