Home
last modified time | relevance | path

Searched hist:fb2fc172018599a6564aab4ac0dce79bf94bd6bc (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/xfs/
H A Dxfs_fsops.cdiff fb2fc172018599a6564aab4ac0dce79bf94bd6bc Tue Mar 23 21:05:39 CDT 2021 Gao Xiang <hsiangkao@redhat.com> 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 <djwong@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
H A Dxfs_trans.cdiff fb2fc172018599a6564aab4ac0dce79bf94bd6bc Tue Mar 23 21:05:39 CDT 2021 Gao Xiang <hsiangkao@redhat.com> 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 <djwong@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>