summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorSun YangKai <sunk67188@gmail.com>2026-06-24 12:02:27 +0800
committerDavid Sterba <dsterba@suse.com>2026-08-07 19:17:17 +0200
commitc5ac19b98587cfcb3da96e06e6beddc7ac4212d2 (patch)
tree6fdcaf05db6cb6156d9e0dd492234860e22c23b7 /tools/perf/scripts/python/parallel-perf.py
parent77038da5a975b01dc8447a01d5d8dd07445ef02c (diff)
btrfs: change block group reclaim_mark to bool
The reclaim_mark field in struct btrfs_block_group was a u64 that was incremented when marking block groups for reclaim during sweeping, but the actual counter value was never used - only the zero/non-zero state mattered for determining if a block group needed reclaim. Convert it to a bool to properly reflect its usage and reduce memory footprint by 8 bytes. Update assignments to use true/false instead of increment and zero. Reviewed-by: Boris Burkov <boris@bur.io> Signed-off-by: Sun YangKai <sunk67188@gmail.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions