kernel_optimize_test/fs/xfs/libxfs
Darrick J. Wong 5cd213b0fe xfs: don't reserve per-AG space for an internal log
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>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
2019-05-20 11:25:39 -07:00
..
xfs_ag_resv.c xfs: rename m_inotbt_nores to m_finobt_nores 2019-02-14 22:42:57 -08:00
xfs_ag_resv.h
xfs_ag.c xfs: report AG health via AG geometry ioctl 2019-04-14 18:15:57 -07:00
xfs_ag.h xfs: add a new ioctl to describe allocation group geometry 2019-04-14 18:15:57 -07:00
xfs_alloc_btree.c
xfs_alloc_btree.h
xfs_alloc.c xfs: assert that we don't enter agfl freeing with a non-permanent transaction 2019-04-23 08:36:23 -07:00
xfs_alloc.h
xfs_attr_leaf.c xfs: fix xfs_buf magic number endian checks 2019-02-18 09:38:41 -08:00
xfs_attr_leaf.h
xfs_attr_remote.c xfs: miscellaneous verifier magic value fixups 2019-02-11 16:07:01 -08:00
xfs_attr_remote.h
xfs_attr_sf.h
xfs_attr.c xfs: always rejoin held resources during defer roll 2019-04-30 08:19:13 -07:00
xfs_attr.h xfs: always rejoin held resources during defer roll 2019-04-30 08:19:13 -07:00
xfs_bit.c
xfs_bit.h
xfs_bmap_btree.c xfs: miscellaneous verifier magic value fixups 2019-02-11 16:07:01 -08:00
xfs_bmap_btree.h
xfs_bmap.c xfs: track delayed allocation reservations across the filesystem 2019-04-26 12:28:55 -07:00
xfs_bmap.h xfs: make COW fork unwritten extent conversions more robust 2019-02-21 07:55:07 -08:00
xfs_btree.c
xfs_btree.h
xfs_cksum.h
xfs_da_btree.c xfs: fix xfs_buf magic number endian checks 2019-02-18 09:38:41 -08:00
xfs_da_btree.h
xfs_da_format.c
xfs_da_format.h xfs: factor xfs_da3_blkinfo verification into common helper 2019-02-11 16:07:01 -08:00
xfs_defer.c xfs: always rejoin held resources during defer roll 2019-04-30 08:19:13 -07:00
xfs_defer.h
xfs_dir2_block.c xfs: miscellaneous verifier magic value fixups 2019-02-11 16:07:01 -08:00
xfs_dir2_data.c xfs: miscellaneous verifier magic value fixups 2019-02-11 16:07:01 -08:00
xfs_dir2_leaf.c xfs: clean up xfs_dir2_leaf_addname 2019-03-12 09:19:38 -07:00
xfs_dir2_node.c xfs: clean up xfs_dir2_leafn_add 2019-03-08 14:24:43 -08:00
xfs_dir2_priv.h
xfs_dir2_sf.c
xfs_dir2.c
xfs_dir2.h
xfs_dquot_buf.c xfs: change some error-less functions to void types 2019-05-01 20:26:30 -07:00
xfs_errortag.h
xfs_format.h
xfs_fs.h xfs: add online scrub for superblock counters 2019-04-30 08:19:13 -07:00
xfs_health.h xfs: report inode health via bulkstat 2019-04-14 18:15:58 -07:00
xfs_ialloc_btree.c xfs: don't reserve per-AG space for an internal log 2019-05-20 11:25:39 -07:00
xfs_ialloc_btree.h
xfs_ialloc.c xfs: miscellaneous verifier magic value fixups 2019-02-11 16:07:01 -08:00
xfs_ialloc.h
xfs_iext_tree.c
xfs_inode_buf.c xfs: fix xfs_buf magic number endian checks 2019-02-18 09:38:41 -08:00
xfs_inode_buf.h
xfs_inode_fork.c
xfs_inode_fork.h
xfs_log_format.h
xfs_log_recover.h
xfs_log_rlimit.c
xfs_quota_defs.h xfs: change some error-less functions to void types 2019-05-01 20:26:30 -07:00
xfs_refcount_btree.c xfs: don't reserve per-AG space for an internal log 2019-05-20 11:25:39 -07:00
xfs_refcount_btree.h
xfs_refcount.c
xfs_refcount.h
xfs_rmap_btree.c xfs: don't reserve per-AG space for an internal log 2019-05-20 11:25:39 -07:00
xfs_rmap_btree.h
xfs_rmap.c
xfs_rmap.h
xfs_rtbitmap.c
xfs_sb.c xfs: change some error-less functions to void types 2019-05-01 20:26:30 -07:00
xfs_sb.h xfs: change some error-less functions to void types 2019-05-01 20:26:30 -07:00
xfs_shared.h
xfs_symlink_remote.c xfs: miscellaneous verifier magic value fixups 2019-02-11 16:07:01 -08:00
xfs_trans_resv.c xfs: make tr_growdata a permanent transaction 2019-04-22 16:28:45 -07:00
xfs_trans_resv.h
xfs_trans_space.h
xfs_types.c xfs: add online scrub for superblock counters 2019-04-30 08:19:13 -07:00
xfs_types.h xfs: add online scrub for superblock counters 2019-04-30 08:19:13 -07:00