linux_dsm_epyc7002/drivers/md/bcache
Dongbo Cao 3a646fd776 bcache: panic fix for making cache device
when the nbuckets of cache device is smaller than 1024, making cache
device will trigger BUG_ON in kernel, add a condition to avoid this.

Reported-by: nitroxis <n@nxs.re>
Signed-off-by: Dongbo Cao <cdbdyx@163.com>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-10-08 08:19:59 -06:00
..
alloc.c bcache: use MAX_CACHES_PER_SET instead of magic number 8 in __bch_bucket_alloc_set 2018-10-08 08:19:56 -06:00
bcache.h bcache: remove useless parameter of bch_debug_init() 2018-10-08 08:19:53 -06:00
bset.c
bset.h
btree.c bcache: fix miss key refill->end in writeback 2018-10-08 08:19:48 -06:00
btree.h
closure.c
closure.h bcache: fix typo in code comments of closure_return_with_destructor() 2018-10-08 08:19:43 -06:00
debug.c bcache: remove useless parameter of bch_debug_init() 2018-10-08 08:19:53 -06:00
debug.h
extents.c bcache: replace hard coded number with BUCKET_GC_GEN_MAX 2018-10-08 08:19:55 -06:00
extents.h
io.c
journal.c
journal.h
Kconfig
Makefile
movinggc.c
request.c bcache: fix ioctl in flash device 2018-10-08 08:19:42 -06:00
request.h bcache: remove unused bch_passthrough_cache 2018-10-08 08:19:52 -06:00
stats.c
stats.h
super.c bcache: panic fix for making cache device 2018-10-08 08:19:59 -06:00
sysfs.c bcache: Populate writeback_rate_minimum attribute 2018-10-08 08:19:46 -06:00
sysfs.h
trace.c
util.c
util.h
writeback.c
writeback.h