WSL2-Linux-Kernel/drivers/md/bcache
Christoph Hellwig 2fd3e5efe7 bcache: use bvec_virt
Use bvec_virt instead of open coding it.  Note that the existing code is
fine despite ignoring bv_offset as the bio is known to contain exactly
one page from the page allocator per bio_vec.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Coly Li <colyli@suse.de>
Link: https://lore.kernel.org/r/20210804095634.460779-10-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-08-16 10:50:33 -06:00
..
Kconfig block: make the block holder code optional 2021-08-09 11:50:42 -06:00
Makefile
alloc.c bcache: remove PTR_CACHE 2021-04-11 08:37:55 -06:00
bcache.h bcache: remove bcache device self-defined readahead 2021-06-08 15:06:03 -06:00
bset.c bcache: Avoid comma separated statements 2021-02-10 08:06:00 -07:00
bset.h
btree.c bcache: use bvec_virt 2021-08-16 10:50:33 -06:00
btree.h bcache: remove embedded struct cache_sb from struct cache_set 2020-10-02 14:25:30 -06:00
closure.c bcache: Convert to DEFINE_SHOW_ATTRIBUTE 2020-10-02 14:25:29 -06:00
closure.h
debug.c bcache: fix a regression of code compiling failure in debug.c 2021-04-11 08:37:56 -06:00
debug.h
extents.c bcache: remove PTR_CACHE 2021-04-11 08:37:55 -06:00
extents.h
features.c bcache: use NULL instead of using plain integer as pointer 2021-04-11 08:37:56 -06:00
features.h bcache: only check feature sets when sb->version >= BCACHE_SB_VERSION_CDEV_WITH_FEATURES 2021-01-28 07:35:07 -07:00
io.c bcache: remove PTR_CACHE 2021-04-11 08:37:55 -06:00
journal.c md: bcache: Trivial typo fixes in the file journal.c 2021-04-11 08:37:56 -06:00
journal.h
movinggc.c bcache: remove for_each_cache() 2020-10-02 14:25:29 -06:00
request.c bcache: avoid oversized read request in cache missing code path 2021-06-08 15:06:03 -06:00
request.h
stats.c bcache: remove bcache device self-defined readahead 2021-06-08 15:06:03 -06:00
stats.h bcache: remove bcache device self-defined readahead 2021-06-08 15:06:03 -06:00
super.c bcache: move the del_gendisk call out of bcache_device_free 2021-08-12 10:29:36 -06:00
sysfs.c bcache: remove bcache device self-defined readahead 2021-06-08 15:06:03 -06:00
sysfs.h
trace.c
util.c
util.h block: move some macros to blkdev.h 2021-08-11 19:40:28 -06:00
writeback.c bcache: Use 64-bit arithmetic instead of 32-bit 2021-04-11 08:37:56 -06:00
writeback.h bcache: consider the fragmentation when update the writeback rate 2021-02-10 08:05:59 -07:00