linux/fs/xfs/libxfs
Darrick J. Wong fa30f03cda xfs: rmap btree transaction reservations
The rmap btrees will use the AGFL as the block allocation source, so
we need to ensure that the transaction reservations reflect the fact
this tree is modified by allocation and freeing. Hence we need to
extend all the extent allocation/free reservations used in
transactions to handle this.

Note that this also gets rid of the unused XFS_ALLOCFREE_LOG_RES
macro, as we now do buffer reservations based on the number of
buffers logged via xfs_calc_buf_res(). Hence we only need the buffer
count calculation now.

[darrick: use rmap_maxlevels when calculating log block resv]

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2016-08-03 11:37:10 +10:00
..
xfs_alloc.c xfs: introduce rmap extent operation stubs 2016-08-03 11:33:43 +10:00
xfs_alloc.h xfs: add owner field to extent allocation and freeing 2016-08-03 11:33:42 +10:00
xfs_alloc_btree.c xfs: add function pointers for get/update keys to the btree 2016-08-03 11:03:38 +10:00
xfs_alloc_btree.h
xfs_attr.c xfs: rename flist/free_list to dfops 2016-08-03 11:19:29 +10:00
xfs_attr_leaf.c xfs: rename flist/free_list to dfops 2016-08-03 11:19:29 +10:00
xfs_attr_leaf.h
xfs_attr_remote.c xfs: rename flist/free_list to dfops 2016-08-03 11:19:29 +10:00
xfs_attr_remote.h
xfs_attr_sf.h
xfs_bit.c
xfs_bit.h
xfs_bmap.c xfs: add owner field to extent allocation and freeing 2016-08-03 11:33:42 +10:00
xfs_bmap.h xfs: add owner field to extent allocation and freeing 2016-08-03 11:33:42 +10:00
xfs_bmap_btree.c xfs: add owner field to extent allocation and freeing 2016-08-03 11:33:42 +10:00
xfs_bmap_btree.h
xfs_btree.c xfs: define the on-disk rmap btree format 2016-08-03 11:36:07 +10:00
xfs_btree.h xfs: define the on-disk rmap btree format 2016-08-03 11:36:07 +10:00
xfs_cksum.h
xfs_da_btree.c xfs: rename flist/free_list to dfops 2016-08-03 11:19:29 +10:00
xfs_da_btree.h xfs: rename flist/free_list to dfops 2016-08-03 11:19:29 +10:00
xfs_da_format.c xfs: kill xfs_dir2_inou_t 2016-07-20 11:48:31 +10:00
xfs_da_format.h xfs: fix attr shortform structure alignment on cris 2016-08-03 10:59:42 +10:00
xfs_defer.c xfs: add tracepoints for the deferred ops mechanism 2016-08-03 11:13:02 +10:00
xfs_defer.h xfs: change xfs_bmap_{finish,cancel,init,free} -> xfs_defer_* 2016-08-03 11:18:10 +10:00
xfs_dir2.c xfs: rename flist/free_list to dfops 2016-08-03 11:19:29 +10:00
xfs_dir2.h xfs: rename flist/free_list to dfops 2016-08-03 11:19:29 +10:00
xfs_dir2_block.c
xfs_dir2_data.c
xfs_dir2_leaf.c
xfs_dir2_node.c
xfs_dir2_priv.h
xfs_dir2_sf.c xfs: kill xfs_dir2_inou_t 2016-07-20 11:48:31 +10:00
xfs_dquot_buf.c
xfs_format.h xfs: define the on-disk rmap btree format 2016-08-03 11:36:07 +10:00
xfs_fs.h
xfs_ialloc.c xfs: add owner field to extent allocation and freeing 2016-08-03 11:33:42 +10:00
xfs_ialloc.h xfs: rename flist/free_list to dfops 2016-08-03 11:19:29 +10:00
xfs_ialloc_btree.c xfs: add owner field to extent allocation and freeing 2016-08-03 11:33:42 +10:00
xfs_ialloc_btree.h
xfs_inode_buf.c xfs: rework xfs_bmap_free callers to use xfs_defer_ops 2016-08-03 11:15:38 +10: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_rmap.c xfs: introduce rmap extent operation stubs 2016-08-03 11:33:43 +10:00
xfs_rmap.h xfs: define the on-disk rmap btree format 2016-08-03 11:36:07 +10:00
xfs_rmap_btree.c xfs: define the on-disk rmap btree format 2016-08-03 11:36:07 +10:00
xfs_rmap_btree.h xfs: define the on-disk rmap btree format 2016-08-03 11:36:07 +10:00
xfs_rtbitmap.c
xfs_sb.c xfs: define the on-disk rmap btree format 2016-08-03 11:36:07 +10:00
xfs_sb.h
xfs_shared.h xfs: define the on-disk rmap btree format 2016-08-03 11:36:07 +10:00
xfs_symlink_remote.c
xfs_trans_resv.c xfs: rmap btree transaction reservations 2016-08-03 11:37:10 +10:00
xfs_trans_resv.h xfs: rmap btree transaction reservations 2016-08-03 11:37:10 +10:00
xfs_trans_space.h
xfs_types.h xfs: introduce rmap btree definitions 2016-08-03 11:30:32 +10:00