]> git.baikalelectronics.ru Git - kernel.git/commit
bcache: don't pass BIOSET_NEED_BVECS for the 'bio_set' embedded in 'cache_set'
authorMing Lei <ming.lei@redhat.com>
Mon, 11 Jan 2021 03:05:57 +0000 (11:05 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jan 2021 04:24:09 +0000 (21:24 -0700)
commitb2555fddc31cc5fa0a72e2c3dd0a6e9ce9b89969
treeb56de37975c79716d02baa5beb34eb88e68050fc
parent12674343ac2b2102e3eb15dfd9eef116b6d9ec73
bcache: don't pass BIOSET_NEED_BVECS for the 'bio_set' embedded in 'cache_set'

This bioset is just for allocating bio only from bio_next_split, and it
needn't bvecs, so remove the flag.

Cc: linux-bcache@vger.kernel.org
Cc: Coly Li <colyli@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Acked-by: Coly Li <colyli@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/super.c