aboutsummaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorGao Xiang <[email protected]>2021-03-23 19:05:39 -0700
committerDarrick J. Wong <[email protected]>2021-03-25 16:47:52 -0700
commitfb2fc172018599a6564aab4ac0dce79bf94bd6bc (patch)
treeb96fdb56b7752dc81416932b55191a1b79e32400 /tools/perf
parent46141dc891f7d28cc5cac473ad1a54a312c021c1 (diff)
xfs: support shrinking unused space in the last AG
As the first step of shrinking, this attempts to enable shrinking unused space in the last allocation group by fixing up freespace btree, agi, agf and adjusting super block and use a helper xfs_ag_shrink_space() to fixup the last AG. This can be all done in one transaction for now, so I think no additional protection is needed. Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Gao Xiang <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions