commit | 20e73b000bcded44a91b79429d8fa743247602ad | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Tue Jan 03 18:39:33 2017 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Tue Jan 03 18:39:33 2017 -0800 |
tree | f17ee4602050d1c97d03527b97addcbb35b48810 | |
parent | 7a21272b088894070391a94fdd1c67014020fa1d [diff] |
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>