diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-09-09 12:26:30 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-10-12 19:16:21 +0200 |
| commit | 4ef2c403d24c33eb772d484e45ded5c0d915a7ec (patch) | |
| tree | 302b06d9cde86828ab657911ea2f27b63ac710ec /tools/perf/scripts/python | |
| parent | d8fb1db2dba2b0a23d8952cf79ba4f95a32000da (diff) | |
| download | linux-4ef2c403d24c33eb772d484e45ded5c0d915a7ec.tar.gz linux-4ef2c403d24c33eb772d484e45ded5c0d915a7ec.zip | |
btrfs: increment extent count once when logging extents during fast fsync
In btrfs_log_changed_extents() we increment the extent count twice, and
we then fallback to a transaction commit if the count reaches a threshold
of 32K. However we increment the count twice, which is confusing and
pointless. So increment the count only once and reduce the threshold to
half (16K).
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
