summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/btree.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-10-20 22:38:11 +0800
committerJens Axboe <axboe@kernel.dk>2021-10-20 08:40:54 -0600
commit00387bd21dac98f9e793294c895768d9e5441f82 (patch)
tree302be87bd06e928194b3c98607fe15ccfdac7f2f /drivers/md/bcache/btree.c
parent0f5cd7815f7f4bb1dd340a9aeb9b9d6a7c7eec22 (diff)
downloadlwn-00387bd21dac98f9e793294c895768d9e5441f82.tar.gz
lwn-00387bd21dac98f9e793294c895768d9e5441f82.zip
bcache: use bvec_kmap_local in bch_data_verify
Using local kmaps slightly reduces the chances to stray writes, and the bvec interface cleans up the code a little bit. Also switch from page_address to bvec_kmap_local for cbv to be on the safe side and to avoid pointlessly poking into bvec internals. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Coly Li <colyli@suse.de> Link: https://lore.kernel.org/r/20211020143812.6403-8-colyli@suse.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/bcache/btree.c')
0 files changed, 0 insertions, 0 deletions