summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_discard.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-01-05 17:43:24 -0800
committerDarrick J. Wong <djwong@kernel.org>2021-03-25 17:08:16 -0700
commit7c2b52fe75a08cf5ed4d971f967400ebc3e1e9a6 (patch)
treee5a60949577fe293f925630354f0563a6236c511 /fs/xfs/xfs_discard.h
parent960a33095aed5e8a25e74b22eff90cb917c65445 (diff)
xfs: reduce transaction reservations with reflinkreflink-speedups_2021-03-25
Before to the introduction of deferred refcount operations, reflink would try to cram refcount btree updates into the same transaction as an allocation or a free event. Mainline XFS has never actually done that, but we never refactored the transaction reservations to reflect that we now do all refcount updates in separate transactions. Fix this to reduce the transaction reservation size even farther, so that between this patch and the previous one, we reduce the tr_write and tr_itruncate sizes by 66%. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_discard.h')
0 files changed, 0 insertions, 0 deletions