• J
    [PATCH] elevator: move the backmerging logic into the elevator core · 9817064b
    Jens Axboe 提交于
    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: NJens Axboe <axboe@suse.de>
    9817064b
blkdev.h 25.3 KB