-
- Downloads
xfs: use the actual AG length when reserving blocks
We need to use the actual AG length when making per-AG reservations, since we could otherwise end up reserving more blocks out of the last AG than there are actual blocks. Complained-about-by:Brian Foster <bfoster@redhat.com> Signed-off-by:
Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by:
Christoph Hellwig <hch@lst.de>
Showing
- fs/xfs/libxfs/xfs_ag_resv.c 3 additions, 0 deletionsfs/xfs/libxfs/xfs_ag_resv.c
- fs/xfs/libxfs/xfs_refcount_btree.c 6 additions, 3 deletionsfs/xfs/libxfs/xfs_refcount_btree.c
- fs/xfs/libxfs/xfs_refcount_btree.h 2 additions, 1 deletionfs/xfs/libxfs/xfs_refcount_btree.h
- fs/xfs/libxfs/xfs_rmap_btree.c 7 additions, 7 deletionsfs/xfs/libxfs/xfs_rmap_btree.c
- fs/xfs/libxfs/xfs_rmap_btree.h 2 additions, 1 deletionfs/xfs/libxfs/xfs_rmap_btree.h
- fs/xfs/xfs_fsops.c 14 additions, 0 deletionsfs/xfs/xfs_fsops.c
Please register or sign in to comment