diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-08-03 11:37:10 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-08-03 11:37:10 +1000 |
commit | fa30f03cda26783b1294af6e7da9f1142da0f52e (patch) | |
tree | 4585fb561e4c40306bea25fbc41121649641b8c8 /fs/xfs/xfs_mount.c | |
parent | e70d829f8d288cd062d265085420f001828b0683 (diff) | |
download | blackbird-obmc-linux-fa30f03cda26783b1294af6e7da9f1142da0f52e.tar.gz blackbird-obmc-linux-fa30f03cda26783b1294af6e7da9f1142da0f52e.zip |
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>
Diffstat (limited to 'fs/xfs/xfs_mount.c')
0 files changed, 0 insertions, 0 deletions