diff options
| author | Guoju Fang <[email protected]> | 2019-04-25 00:48:27 +0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-04-24 10:56:27 -0600 |
| commit | 4e0c04ec3a304490a83d5c0355e64176acc9b4ba (patch) | |
| tree | 66350dd21a326b3da8d83262caa4f3ae7f4efd56 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | 1568ee7e3c6305d9fbb2414bfd4b56e52853d42d (diff) | |
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 <[email protected]>
Signed-off-by: Coly Li <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions