summaryrefslogtreecommitdiff
path: root/fs/afs/dynroot.c
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-08-25 22:25:50 -0700
commit26be22473cafa178a55731a0fcd989a07bd817ca (patch)
tree2999e77d396684b8d1bfe210119b7274976e2790 /fs/afs/dynroot.c
parent7c7a8c9b10e13e18685455c12bee70b3198267e2 (diff)
xfs: reduce transaction reservations with reflink
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/afs/dynroot.c')
0 files changed, 0 insertions, 0 deletions