summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_refcount.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-04-25 18:38:15 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-04-28 10:25:50 -0700
commitdf2fd88f8ac77f75a603d9fa5015225cc6c30edb (patch)
treecc07999d8751035b2e78b521c59be85f6e8ca842 /fs/xfs/libxfs/xfs_refcount.c
parentb037c4eed2df4568a7702cd512d26625962f95b9 (diff)
xfs: rewrite xfs_reflink_end_cow to use intents
Currently, the code that performs CoW remapping after a write has this odd behavior where it walks /backwards/ through the data fork to remap extents in reverse order. Earlier, we rewrote the reflink remap function to use deferred bmap log items instead of trying to cram as much into the first transaction that we could. Now do the same for the CoW remap code. There doesn't seem to be any performance impact; we're just making better use of code that we added for the benefit of reflink. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs/xfs_refcount.c')
0 files changed, 0 insertions, 0 deletions