summaryrefslogtreecommitdiff
path: root/block/blk-rq-qos.c
diff options
context:
space:
mode:
authorGuoju Fang <fangguoju@gmail.com>2019-04-24 19:48:27 +0300
committerJens Axboe <axboe@kernel.dk>2019-04-24 19:56:27 +0300
commit4e0c04ec3a304490a83d5c0355e64176acc9b4ba (patch)
tree66350dd21a326b3da8d83262caa4f3ae7f4efd56 /block/blk-rq-qos.c
parent1568ee7e3c6305d9fbb2414bfd4b56e52853d42d (diff)
downloadlinux-4e0c04ec3a304490a83d5c0355e64176acc9b4ba.tar.xz
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>
Diffstat (limited to 'block/blk-rq-qos.c')
0 files changed, 0 insertions, 0 deletions