]> www.infradead.org Git - users/dwmw2/linux.git/commit
xfs: pass the pag to the trace_xrep_calc_ag_resblks{,_btsize} trace points
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)
commit934dde65b20230055978634ebffc6ee7de9b4eb9
tree2626ed554e609fc752cd8aef4f25b074a28ab21e
parent618a27a94d06f036d1cdc73c9960f2e59be42f50
xfs: pass the pag to the trace_xrep_calc_ag_resblks{,_btsize} trace points

This requires holding the pag refcount a little longer, 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/repair.c
fs/xfs/scrub/trace.h