summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-01 11:16:08 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-12-15 17:29:14 -0800
commit43952649aec957f62f105ebb4f1d3503a6fec74f (patch)
tree5f9ec1190898097f93202c2baa476f7138573503 /fs/xfs/scrub
parent45de526bb1272b27261898b7cd4d2a5b7a52f252 (diff)
xfs: add a realtime flag to the rmap update log redo items
Extend the rmap update (RUI) log items with a new realtime flag that indicates that the updates apply against the realtime rmapbt. We'll wire up the actual rmap code later. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/scrub')
-rw-r--r--fs/xfs/scrub/alloc_repair.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/scrub/alloc_repair.c b/fs/xfs/scrub/alloc_repair.c
index 917ccb939800..6fd7fbcd9388 100644
--- a/fs/xfs/scrub/alloc_repair.c
+++ b/fs/xfs/scrub/alloc_repair.c
@@ -476,8 +476,8 @@ xrep_abt_dispose_reservations(
for_each_xrep_newbt_reservation(&ra->new_bnobt_info, resv, n) {
/* Add a deferred rmap for each extent we used. */
if (resv->used > 0)
- xfs_rmap_alloc_extent(sc->tp, resv->fsbno, resv->used,
- XFS_RMAP_OWN_AG);
+ xfs_rmap_alloc_extent(sc->tp, false, resv->fsbno,
+ resv->used, XFS_RMAP_OWN_AG);
/*
* Add a deferred free for each block we didn't use and now