[PATCH] elevator: move the backmerging logic into the elevator core
authorJens Axboe <axboe@suse.de>
Fri, 28 Jul 2006 07:23:08 +0000 (09:23 +0200)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Sat, 30 Sep 2006 18:26:56 +0000 (20:26 +0200)
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>

No differences found