summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2017-12-18 20:22:15 +0800
committerJens Axboe <axboe@kernel.dk>2018-01-06 09:18:00 -0700
commita2d37968d784363842f87820a21e106741d28004 (patch)
tree63d4475d4de594b94b638c76269660102ac0b1b1 /kernel
parent6a501bf0807b5dc024fe52a4f956800a352c39ab (diff)
downloadlinux-a2d37968d784363842f87820a21e106741d28004.tar.gz
linux-a2d37968d784363842f87820a21e106741d28004.tar.bz2
linux-a2d37968d784363842f87820a21e106741d28004.zip
block: blk-merge: try to make front segments in full size
When merging one bvec into segment, if the bvec is too big to merge, current policy is to move the whole bvec into another new segment. This patchset changes the policy into trying to maximize size of front segments, that means in above situation, part of bvec is merged into current segment, and the remainder is put into next segment. This patch prepares for support multipage bvec because it can be quite common to see this case and we should try to make front segments in full size. Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions