diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-09-01 10:45:24 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-09-17 18:54:51 -0700 |
commit | c8b6a42b46abffd4bc0fa82d0c1445e0d0ab8798 (patch) | |
tree | bfb0e73ad144ae0e14fcb57d3b8897ee64cc0ae0 /fs/xfs/scrub/trace.h | |
parent | 8a450bacf3fbd14765cdb7d6c68063243bf6b161 (diff) |
xfs: repair refcount btreesrepair-ag-btrees_2021-09-17
Reconstruct the refcount data from the rmap btree.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/scrub/trace.h')
-rw-r--r-- | fs/xfs/scrub/trace.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/xfs/scrub/trace.h b/fs/xfs/scrub/trace.h index cd74d022ca68..fb6c21c15ae1 100644 --- a/fs/xfs/scrub/trace.h +++ b/fs/xfs/scrub/trace.h @@ -924,10 +924,10 @@ TRACE_EVENT(xrep_ibt_found, __entry->freemask) ) -TRACE_EVENT(xrep_refcount_extent_fn, +TRACE_EVENT(xrep_refc_found, TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, - struct xfs_refcount_irec *irec), - TP_ARGS(mp, agno, irec), + const struct xfs_refcount_irec *rec), + TP_ARGS(mp, agno, rec), TP_STRUCT__entry( __field(dev_t, dev) __field(xfs_agnumber_t, agno) @@ -938,9 +938,9 @@ TRACE_EVENT(xrep_refcount_extent_fn, TP_fast_assign( __entry->dev = mp->m_super->s_dev; __entry->agno = agno; - __entry->startblock = irec->rc_startblock; - __entry->blockcount = irec->rc_blockcount; - __entry->refcount = irec->rc_refcount; + __entry->startblock = rec->rc_startblock; + __entry->blockcount = rec->rc_blockcount; + __entry->refcount = rec->rc_refcount; ), TP_printk("dev %d:%d agno 0x%x agbno 0x%x fsbcount 0x%x refcount %u", MAJOR(__entry->dev), MINOR(__entry->dev), |