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)
commitc495a17679523c95f77f13697a71921dd5c224cd
treedc9f2c4a164ad228f19c6113ac741b827129fd9f
parent49d1ec8573f74ff1e23df1d5092211de46baa236
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