diff --git a/fs/xfs/xfs_trace.h b/fs/xfs/xfs_trace.h index c5ad26a1d7bb..1c098cfc5c00 100644 --- a/fs/xfs/xfs_trace.h +++ b/fs/xfs/xfs_trace.h @@ -394,6 +394,7 @@ DEFINE_ZONE_EVENT(xfs_zone_full); DEFINE_ZONE_EVENT(xfs_zone_opened); DEFINE_ZONE_EVENT(xfs_zone_reset); DEFINE_ZONE_EVENT(xfs_zone_gc_target_opened); +DEFINE_ZONE_EVENT(xfs_zone_gc_target_stolen); TRACE_EVENT(xfs_zone_free_blocks, TP_PROTO(struct xfs_rtgroup *rtg, xfs_rgblock_t rgbno, diff --git a/fs/xfs/xfs_zone_gc.c b/fs/xfs/xfs_zone_gc.c index 00a996c13d8a..0c1e22409ef1 100644 --- a/fs/xfs/xfs_zone_gc.c +++ b/fs/xfs/xfs_zone_gc.c @@ -543,7 +543,7 @@ xfs_zone_gc_steal_open( return -EIO; } - trace_xfs_zone_gc_target_opened(found->oz_rtg); + trace_xfs_zone_gc_target_stolen(found->oz_rtg); found->oz_is_gc = true; list_del_init(&found->oz_entry); zi->zi_nr_open_zones--;