summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2026-10-01 14:46:16 +0930
committerDavid Sterba <dsterba@suse.com>2026-10-12 19:16:24 +0200
commit65583d4749af1bede388425b5ab70cb6cbb68125 (patch)
tree0ed4507bb02ba8c5b90aa67f9c9767c4e467e0df /tools/perf/scripts/python/stackcollapse.py
parentdd906477cc2c33c82ec17e6301bd4be4ea588565 (diff)
downloadlinux-65583d4749af1bede388425b5ab70cb6cbb68125.tar.gz
linux-65583d4749af1bede388425b5ab70cb6cbb68125.zip
btrfs: qgroup: use qgroup_mark_inconsistent() in quick_update_accounting()
When quick_update_accounting() fails to handle a qgroup which is not fully exclusive (its exclusive number doesn't match the reference one), we have to mark the qgroup inconsistent. Unlike other locations we didn't use qgroup_mark_inconsistent(), thus when such problem happens no extra error message is shown. Use the helper in quick_update_accounting(), which does not only show the reason of marking qgroup inconsistent, but also cancels any running rescan and skips dirty accounting, avoiding wasting CPU time on already inconsistent qgroup numbers. Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions