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
..
2018-09-07 10:05:20 +02:00
2018-09-21 09:41:05 +02:00
2018-08-08 15:44:47 +10:00
2018-09-27 21:53:55 +02:00
2018-08-16 12:26:24 -07:00
2018-10-01 08:58:57 -06:00
2018-10-01 08:58:57 -06:00
2018-09-27 21:53:55 +02:00
2018-09-14 13:03:17 -10:00
2018-09-28 18:20:41 +02:00
2018-08-18 11:04:51 -07:00
2018-08-20 11:36:07 +02:00
2018-08-25 14:12:36 -07:00
2018-08-20 16:30:27 -07:00
2018-10-01 08:58:57 -06:00
2018-10-01 08:58:57 -06:00
2018-08-23 14:02:22 -07:00
2018-09-28 18:04:06 -07:00
2018-09-24 15:16:41 +02:00
2018-08-23 13:52:46 -07:00
2018-08-19 09:30:44 -07:00
2018-08-17 11:32:50 -07:00
2018-08-23 15:44:58 -07:00
2018-08-24 08:45:19 -07:00
2018-10-01 08:58:57 -06:00
2018-08-18 11:04:51 -07:00