]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
block: don't check if adjacent bvecs in one bio can be mergeable
authorMing Lei <ming.lei@redhat.com>
Sun, 17 Mar 2019 10:01:12 +0000 (18:01 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Apr 2019 18:11:48 +0000 (12:11 -0600)
commitf6970f83ef79503cb24ca8324e5cfa1188674f85
tree043b4dcbd5197a9ac343f680b255fd3ad524d53b
parent16e3e4187758d8936d358b26149de785b7d5a9b7
block: don't check if adjacent bvecs in one bio can be mergeable

Now both passthrough and FS IO have supported multi-page bvec, and
bvec merging has been handled actually when adding page to bio, then
adjacent bvecs won't be mergeable any more if they belong to same bio.

So only try to merge bvecs if they are from different bios.

Cc: Omar Sandoval <osandov@fb.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-merge.c