Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xfs: add a free space extent change reservation
Lots of the transaction reservation code reserves space for an extent allocation. It is inconsistently implemented, and many of them get it wrong. Introduce a new function to calculate the log space reservation for adding or removing an extent from the free space btrees. This function reserves space for logging the AGF, the AGFL and the free space btrees, avoiding the need to account for them seperately in every reservation that manipulates free space. Signed-off-by: Dave Chinner <dchinner@redhat.com>
- Loading branch information