aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/block/blk-mq.c
diff options
context:
space:
mode:
authorDongbo Cao <cdbdyx@163.com>2018-10-08 20:41:21 +0800
committerJens Axboe <axboe@kernel.dk>2018-10-08 08:19:59 -0600
commit3a646fd77684dd5fbe20748bb04e12077bbecddc (patch)
tree50d9cfe4ec782133acf6154baa24b75a445688ff /block/blk-mq.c
parentbcache: split combined if-condition code into separate ones (diff)
downloadwireguard-linux-3a646fd77684dd5fbe20748bb04e12077bbecddc.tar.xz
wireguard-linux-3a646fd77684dd5fbe20748bb04e12077bbecddc.zip
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>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions