]> www.infradead.org Git - users/dwmw2/linux.git/commit
xfs: pass the pag to the xrep_newbt_extent_class tracepoints
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Nov 2024 04:18:35 +0000 (20:18 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:26 +0000 (13:38 -0800)
commitdc8df7e3826e21eff0d655be875112a98172fb66
tree36e59be96ba9f4bab913af7bff4fe6207ff53cb9
parent934dde65b20230055978634ebffc6ee7de9b4eb9
xfs: pass the pag to the xrep_newbt_extent_class tracepoints

This requires moving a few of the callsites a little bit to ensure that
we already have the reference, but allows for the decoding to only happen
when tracing is actually enabled, and cleans up the callsites a bit.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/scrub/alloc_repair.c
fs/xfs/scrub/newbt.c
fs/xfs/scrub/trace.h