diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-09-18 09:42:09 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-09-26 10:55:19 -0700 |
commit | 9789dd9e1d939232e8ff4c50ef8e75aa6781b3fb (patch) | |
tree | 4e05bf062457bd86a3cbdd922e59997c72757537 /fs/pnode.c | |
parent | ee70daaba82d70766d0723b743d9fdeb3b06102a (diff) | |
download | linux-9789dd9e1d939232e8ff4c50ef8e75aa6781b3fb.tar.gz linux-9789dd9e1d939232e8ff4c50ef8e75aa6781b3fb.tar.bz2 linux-9789dd9e1d939232e8ff4c50ef8e75aa6781b3fb.zip |
xfs: perag initialization should only touch m_ag_max_usable for AG 0
We call __xfs_ag_resv_init to make a per-AG reservation for each AG.
This makes the reservation per-AG, not per-filesystem. Therefore, it
is incorrect to adjust m_ag_max_usable for each AG. Adjust it only
when we're reserving AG 0's blocks so that we only do it once per fs.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/pnode.c')
0 files changed, 0 insertions, 0 deletions