]> 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)
commit3b11d57c2afff058210ed12da1d02c78ec361e64
treedc9f2c4a164ad228f19c6113ac741b827129fd9f
parent6205670890b8088ab84ad5ac4eb04a242e54f878
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