]> git.ipfire.org Git - thirdparty/linux.git/commit
xfs: remove unused event xfs_alloc_near_nominleft
authorSteven Rostedt <rostedt@goodmis.org>
Mon, 16 Jun 2025 17:51:55 +0000 (13:51 -0400)
committerCarlos Maiolino <cem@kernel.org>
Thu, 24 Jul 2025 15:30:12 +0000 (17:30 +0200)
commitf1100605590a13d362efe20f734d882305eb6e64
treed9f61f9373a79efd368ccdc7af5cd6fd018c57db
parent237f8e885136a073b2a1a70768aa6f538fa634bd
xfs: remove unused event xfs_alloc_near_nominleft

When the function xfs_alloc_space_available() was restructured, it removed
the only calls to the trace event xfs_alloc_near_nominleft. As trace
events take up to 5K of memory for text and meta data for each event, they
should not be created when not used. Remove this unused event.

Fixes: 54fee133ad59 ("xfs: adjust allocation length in xfs_alloc_space_available")
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