diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-10-25 17:16:13 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-10-26 18:32:34 -0700 |
commit | 1da4ccd016283b6464b8e376caf6316f8ba9a0e3 (patch) | |
tree | 077703c2f0ce31bb2b10eb81979e66f392009341 /fs/xfs/xfs_trace.h | |
parent | fba4d092c9574ccee2fefc4acd18b0bf6b6d0599 (diff) |
xfs: support dynamic btree cursor sizebtree-dynamic-depth_2020-10-26
Split out the btree level information into a separate struct and put it
at the end of the cursor structure as a VLA. The realtime rmapbt will
require the ability to support many more levels than a regular cursor.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_trace.h')
-rw-r--r-- | fs/xfs/xfs_trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trace.h b/fs/xfs/xfs_trace.h index 4cc9d1ef69a0..08b288b38fbc 100644 --- a/fs/xfs/xfs_trace.h +++ b/fs/xfs/xfs_trace.h @@ -2359,7 +2359,7 @@ DECLARE_EVENT_CLASS(xfs_btree_cur_class, __entry->btnum = cur->bc_btnum; __entry->level = level; __entry->nlevels = cur->bc_nlevels; - __entry->ptr = cur->bc_ptrs[level]; + __entry->ptr = cur->bc_levels[level].ptr; __entry->daddr = bp ? bp->b_bn : -1; ), TP_printk("dev %d:%d btree %s level %d/%d ptr %d daddr 0x%llx", |