Guoju Fang 4e0c04ec3a bcache: fix inaccurate result of unused buckets
To get the amount of unused buckets in sysfs_priority_stats, the code
count the buckets which GC_SECTORS_USED is zero. It's correct and should
not be overwritten by the count of buckets which prio is zero.

Signed-off-by: Guoju Fang <fangguoju@gmail.com>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-04-24 10:56:27 -06:00
..
2018-08-11 15:46:42 -06:00
2018-12-13 08:15:54 -07:00
2018-08-11 15:46:42 -06:00
2018-08-22 13:38:05 -07:00
2018-08-22 13:38:05 -07:00