Re: [PATCH 2/6] block: don't pass BIOSET_NEED_BVECS for q->bio_split

2021-01-04 Thread Christoph Hellwig
On Wed, Dec 30, 2020 at 08:32:51AM +0800, Ming Lei wrote: > q->bio_split is only used by bio_split() for fast cloning bio, and no > need to allocate bvecs, so remove this flag. > > Signed-off-by: Ming Lei Looks good, Reviewed-by: Christoph Hellwig

[PATCH 2/6] block: don't pass BIOSET_NEED_BVECS for q->bio_split

2020-12-29 Thread Ming Lei
q->bio_split is only used by bio_split() for fast cloning bio, and no need to allocate bvecs, so remove this flag. Signed-off-by: Ming Lei --- block/blk-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-core.c b/block/blk-core.c index