linux-kernelorg-stable/drivers/md/bcache
Coly Li 4e1ebae3ee bcache: only use block_bytes() on struct cache
Because struct cache_set and struct cache both have struct cache_sb,
therefore macro block_bytes() can be used on both of them. When removing
the embedded struct cache_sb from struct cache_set, this macro won't be
used on struct cache_set anymore.

This patch unifies all block_bytes() usage only on struct cache, this is
one of the preparation to remove the embedded struct cache_sb from
struct cache_set.

Signed-off-by: Coly Li <colyli@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-10-02 14:25:30 -06:00
..
Kconfig bcache: Fix typo in Kconfig name 2020-07-25 07:38:19 -06:00
Makefile bcache: add sysfs file to display feature sets information of cache set 2020-07-25 07:38:21 -06:00
alloc.c bcache: remove for_each_cache() 2020-10-02 14:25:29 -06:00
bcache.h bcache: only use block_bytes() on struct cache 2020-10-02 14:25:30 -06:00
bset.c bcache: allocate meta data pages as compound pages 2020-07-25 07:38:19 -06:00
bset.h
btree.c bcache: only use block_bytes() on struct cache 2020-10-02 14:25:30 -06:00
btree.h
closure.c bcache: Convert to DEFINE_SHOW_ATTRIBUTE 2020-10-02 14:25:29 -06:00
closure.h
debug.c bcache: only use block_bytes() on struct cache 2020-10-02 14:25:30 -06:00
debug.h
extents.c
extents.h
features.c bcache: add sysfs file to display feature sets information of cache set 2020-07-25 07:38:21 -06:00
features.h bcache: add sysfs file to display feature sets information of cache set 2020-07-25 07:38:21 -06:00
io.c bcache: avoid extra memory consumption in struct bbio for large bucket size 2020-07-25 07:38:21 -06:00
journal.c bcache: only use block_bytes() on struct cache 2020-10-02 14:25:30 -06:00
journal.h
movinggc.c bcache: remove for_each_cache() 2020-10-02 14:25:29 -06:00
request.c bcache: only use block_bytes() on struct cache 2020-10-02 14:25:30 -06:00
request.h block: move ->make_request_fn to struct block_device_operations 2020-07-01 07:27:24 -06:00
stats.c
stats.h
super.c bcache: only use block_bytes() on struct cache 2020-10-02 14:25:30 -06:00
sysfs.c bcache: only use block_bytes() on struct cache 2020-10-02 14:25:30 -06:00
sysfs.h
trace.c
util.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
util.h
writeback.c bcache: fix overflow in offset_to_stripe() 2020-07-25 07:38:20 -06:00
writeback.h bcache: fix overflow in offset_to_stripe() 2020-07-25 07:38:20 -06:00