diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-11-21 01:20:20 +0100 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-12-23 22:06:03 +0100 |
commit | d415fb34b4c2d1c11b0536eebc61962d3f9bf286 (patch) | |
tree | a6cf8b116e58816c938d8de8e06cebe7a4fb40b1 /fs/xfs/xfs_rmap_item.c | |
parent | xfs: add some rtgroup inode helpers (diff) | |
download | linux-d415fb34b4c2d1c11b0536eebc61962d3f9bf286.tar.xz linux-d415fb34b4c2d1c11b0536eebc61962d3f9bf286.zip |
xfs: prepare rmap btree cursor tracepoints for realtime
Rework the rmap btree cursor tracepoints in preparation to handle the
realtime rmap btree cursor. Mostly this involves renaming the field to
"gbno" and extracting the group number from the cursor.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_rmap_item.c')
-rw-r--r-- | fs/xfs/xfs_rmap_item.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_rmap_item.c b/fs/xfs/xfs_rmap_item.c index 76b3c0ed3b4f..ac2913a73358 100644 --- a/fs/xfs/xfs_rmap_item.c +++ b/fs/xfs/xfs_rmap_item.c @@ -351,10 +351,10 @@ xfs_rmap_defer_add( { struct xfs_mount *mp = tp->t_mountp; - trace_xfs_rmap_defer(mp, ri); - ri->ri_group = xfs_group_intent_get(mp, ri->ri_bmap.br_startblock, XG_TYPE_AG); + + trace_xfs_rmap_defer(mp, ri); xfs_defer_add(tp, &ri->ri_list, &xfs_rmap_update_defer_type); } |