summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-05-06 13:53:08 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-05-08 10:51:08 -0700
commit5d8284eaa80ebe3158cd43b07659159396c8effc (patch)
tree24f2a8af0832875d861435dc59438c3d710962b8 /virt
parentb46a3cd69134db2abc39359945e13051a256a3e3 (diff)
xfs: don't reserve per-AG space for an internal logxfs-5.2-merge_2019-05-08
It turns out that the log can consume nearly all the space in an AG, and when this happens this it's possible that there will be less free space in the AG than the reservation would try to hide. On a debug kernel this can trigger an ASSERT in xfs/250: XFS: Assertion failed: xfs_perag_resv(pag, XFS_AG_RESV_METADATA)->ar_reserved + xfs_perag_resv(pag, XFS_AG_RESV_RMAPBT)->ar_reserved <= pag->pagf_freeblks + pag->pagf_flcount, file: fs/xfs/libxfs/xfs_ag_resv.c, line: 319 The log is permanently allocated, so we know we're never going to have to expand the btrees to hold any records associated with the log space. We therefore can treat the space as if it doesn't exist. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions