]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: remove usused xfs_end_io_direct events
authorSteven Rostedt <rostedt@goodmis.org>
Mon, 16 Jun 2025 17:51:57 +0000 (13:51 -0400)
committerCarlos Maiolino <cem@kernel.org>
Thu, 24 Jul 2025 15:30:12 +0000 (17:30 +0200)
commit9a8a536fe5a803d5323cb8d830db5551e78a5a22
tree3cddc164dedd70f3950a45243f9ce427b16cde21
parent88fd451594a6b42f37aa2b3c3647b5d8973e2e5f
xfs: remove usused xfs_end_io_direct events

When the use of iomap_dio_rw was added, the calls to the trace events
xfs_end_io_direct_unwritten and xfs_end_io_direct_append were removed but
those trace events were not. As trace events can take up to 5K in memory
for text and meta data regardless if they are used or not, they should not
be created when not used. Remove the unused events.

Fixes: acdda3aae146 ("xfs: use iomap_dio_rw")
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