Re: [PATCH] xfs: actually use the xfs_growfs_check_rtgeom tracepoint
From: Carlos Maiolino
Date: Mon Jun 16 2025 - 04:11:46 EST
On Thu, Jun 12, 2025 at 10:51:12AM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@xxxxxxxxxx>
>
> We created a new tracepoint but forgot to put it in. Fix that.
>
Reviewed-by: Carlos Maiolino <cmaiolino@xxxxxxxxxx>
> Cc: rostedt@xxxxxxxxxxx
> Cc: <stable@xxxxxxxxxxxxxxx> # v6.14
> Fixes: 59a57acbce282d ("xfs: check that the rtrmapbt maxlevels doesn't increase when growing fs")
> Signed-off-by: "Darrick J. Wong" <djwong@xxxxxxxxxx>
> ---
> fs/xfs/xfs_rtalloc.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/fs/xfs/xfs_rtalloc.c b/fs/xfs/xfs_rtalloc.c
> index 6484c596eceaf2..736eb0924573d3 100644
> --- a/fs/xfs/xfs_rtalloc.c
> +++ b/fs/xfs/xfs_rtalloc.c
> @@ -1259,6 +1259,8 @@ xfs_growfs_check_rtgeom(
>
> kfree(nmp);
>
> + trace_xfs_growfs_check_rtgeom(mp, min_logfsbs);
> +
> if (min_logfsbs > mp->m_sb.sb_logblocks)
> return -EINVAL;
>