summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_trace.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-04-15 14:54:17 -0700
committerDarrick J. Wong <djwong@kernel.org>2024-04-15 14:54:17 -0700
commit966ceafc7a437105ecfe1cadb3747b2965a260ca (patch)
tree656b079bc085e63c20833bf07e702481fcefc421 /fs/xfs/xfs_trace.c
parent6c08f434bd33f88cf169e9e43c7a5e42fb3f2118 (diff)
xfs: create deferred log items for file mapping exchanges
Now that we've created the skeleton of a log intent item to track and restart file mapping exchange operations, add the upper level logic to commit intent items and turn them into concrete work recorded in the log. This builds on the existing bmap update intent items that have been around for a while now. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_trace.c')
-rw-r--r--fs/xfs/xfs_trace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_trace.c b/fs/xfs/xfs_trace.c
index 1a963382e5e9..9f38e69f1ce4 100644
--- a/fs/xfs/xfs_trace.c
+++ b/fs/xfs/xfs_trace.c
@@ -39,6 +39,7 @@
#include "xfs_buf_mem.h"
#include "xfs_btree_mem.h"
#include "xfs_bmap.h"
+#include "xfs_exchmaps.h"
/*
* We include this last to have the helpers above available for the trace