]> git.baikalelectronics.ru Git - kernel.git/commit
block: don't pass BIOSET_NEED_BVECS for q->bio_split
authorMing Lei <ming.lei@redhat.com>
Mon, 11 Jan 2021 03:05:53 +0000 (11:05 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jan 2021 04:22:45 +0000 (21:22 -0700)
commitdfe7256e32032c819175a00210b85b39594e3a9f
treedc9f2c4a164ad228f19c6113ac741b827129fd9f
parentbe3274a2d2ded5c5b36de1e96242d8b925059791
block: don't pass BIOSET_NEED_BVECS for q->bio_split

q->bio_split is only used by bio_split() for fast cloning bio, and no
need to allocate bvecs, so remove this flag.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Tested-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c