diff options
author | Josef Bacik <[email protected]> | 2015-10-02 15:25:10 -0400 |
---|---|---|
committer | Chris Mason <[email protected]> | 2015-10-21 18:55:39 -0700 |
commit | c759c4e16179e47e099f491011e6acd7858f8625 (patch) | |
tree | 1b97ad895f5546f867d0b12df3910848e69f1016 /tools/perf/util/trace-event-scripting.c | |
parent | a5e681d9bd641c4f0677e87d3a0c92a8f4f16293 (diff) |
Btrfs: don't keep trying to build clusters if we are fragmented
If we are extremely fragmented then we won't be able to create a free_cluster.
So if this happens set last_ptr->fragmented so that all future allcations will
give up trying to create a cluster. When we unpin extents we will unset
->fragmented if we free up a sufficient amount of space in a block group.
Thanks,
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions