diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-02-03 19:45:14 +0000 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-04-07 18:55:54 +0200 |
| commit | 8f3fc2d8973af8dc5559ecbbfb5ed3b19b2e8fa5 (patch) | |
| tree | 0c1c739b91457924a5845ccc3d3859a561419521 /tools/perf/scripts/python/stackcollapse.py | |
| parent | abd5e352b160f251ba1a481c03cdd7653557d0f2 (diff) | |
btrfs: remove max_mirrors argument from write_all_supers()
There's no need to pass max_mirrors to write_all_supers() since from the
given transaction handle we can infer if we are in a transaction commit
or fsync context, so we can determine how many mirrors we need to use.
So remove the max_mirror argument from write_all_supers() and stop
adjusting it in the callees write_dev_supers() and wait_dev_supers(),
simplifying them besides the parameter list for write_all_supers().
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@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
