OSDN Git Service

block: don't merge adjacent bvecs to one segment in bio blk_queue_split
authorMing Lei <ming.lei@redhat.com>
Sun, 17 Mar 2019 10:01:05 +0000 (18:01 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Apr 2019 18:11:21 +0000 (12:11 -0600)
commitfd7d8d4232f08b0df623d9ea7e941f0350a26e14
tree859fc1781425f2abeb39447c77081e73c99b37a6
parentdb5ebd6edd2627d7e81a031643cf43587f63e66c
block: don't merge adjacent bvecs to one segment in bio blk_queue_split

For normal filesystem IO, each page is added via blk_add_page(),
in which bvec(page) merge has been handled already, and basically
not possible to merge two adjacent bvecs in one bio.

So not try to merge two adjacent bvecs in blk_queue_split().

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