Searched hist:"46141 dc891f7d28cc5cac473ad1a54a312c021c1" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_ag.h | diff 46141dc891f7d28cc5cac473ad1a54a312c021c1 Tue Mar 23 21:05:38 CDT 2021 Gao Xiang <hsiangkao@redhat.com> xfs: introduce xfs_ag_shrink_space()
This patch introduces a helper to shrink unused space in the last AG by fixing up the freespace btree.
Also make sure that the per-AG reservation works under the new AG size. If such per-AG reservation or extent allocation fails, roll the transaction so the new transaction could cancel without any side effects.
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 D | xfs_ag.c | diff 46141dc891f7d28cc5cac473ad1a54a312c021c1 Tue Mar 23 21:05:38 CDT 2021 Gao Xiang <hsiangkao@redhat.com> xfs: introduce xfs_ag_shrink_space()
This patch introduces a helper to shrink unused space in the last AG by fixing up the freespace btree.
Also make sure that the per-AG reservation works under the new AG size. If such per-AG reservation or extent allocation fails, roll the transaction so the new transaction could cancel without any side effects.
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>
|