diff options
author | Josef Bacik <[email protected]> | 2018-10-11 15:54:03 -0400 |
---|---|---|
committer | David Sterba <[email protected]> | 2018-10-19 12:20:03 +0200 |
commit | 21a94f7acf0f748599ea552af5d9ee7d7e41c72f (patch) | |
tree | b43ed6c451e463f5e93bc47e50e3bde7c194a475 /tools/perf/util/trace-event-scripting.c | |
parent | b2b5b6502c3ddc448be825974036ef4d8966e888 (diff) |
btrfs: reset max_extent_size properly
If we use up our block group before allocating a new one we'll easily
get a max_extent_size that's set really really low, which will result in
a lot of fragmentation. We need to make sure we're resetting the
max_extent_size when we add a new chunk or add new space.
CC: [email protected] # 4.4+
Reviewed-by: Filipe Manana <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions