diff options
| author | Ethan Lien <[email protected]> | 2018-07-02 15:44:58 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-08-06 13:12:48 +0200 |
| commit | d814a49198eafa6163698bdd93961302f3a877a4 (patch) | |
| tree | 8f0b874e4c5af13bbd6210919d40eaf0a7efc499 /tools/perf/scripts/python | |
| parent | 36350e95a2b1feed6382fe38cc80f79ec35a1323 (diff) | |
btrfs: use correct compare function of dirty_metadata_bytes
We use customized, nodesize batch value to update dirty_metadata_bytes.
We should also use batch version of compare function or we will easily
goto fast path and get false result from percpu_counter_compare().
Fixes: e2d845211eda ("Btrfs: use percpu counter for dirty metadata count")
CC: [email protected] # 4.4+
Signed-off-by: Ethan Lien <[email protected]>
Reviewed-by: Nikolay Borisov <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions