xfs: remove unused xfs_reflink_compare_extents events
authorSteven Rostedt <rostedt@goodmis.org>
Mon, 16 Jun 2025 17:51:50 +0000 (13:51 -0400)
committerCarlos Maiolino <cem@kernel.org>
Thu, 24 Jul 2025 15:30:12 +0000 (17:30 +0200)
commit8c54845c3a02b40bb76916a94a50267cded68d2b
tree5334a68af6ee0f4e04c76cd35727e8db9e6734c0
parent6f7080bd932f63d3390cefa8571def5d49b82068
xfs: remove unused xfs_reflink_compare_extents events

When the clone/dedupe_file_rang common functions were refactored, it
removed the calls to the xfs_reflink_compare_extents and
xfs_reflink_compare_extents_error events. As each event can take up to 5K
in memory for text and meta data regardless if they are used or not, they
should not be created if they are not used. Remove these unused events.

Fixes: 876bec6f9bbf ("vfs: refactor clone/dedupe_file_range common functions")
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_trace.h