]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: add tracepoints for each of the externally visible allocators
authorDarrick J. Wong <djwong@kernel.org>
Tue, 9 May 2023 09:32:43 +0000 (11:32 +0200)
committerCarlos Maiolino <cem@kernel.org>
Wed, 10 May 2023 13:03:25 +0000 (15:03 +0200)
commit6904abced9f0698dba679b081f757aa6882fa52a
tree2e16c3faec49f2dfc50dababde082a76f131b881
parentc2337664c80a4458865d02454ead036acc876c51
xfs: add tracepoints for each of the externally visible allocators

Source kernel commit: e6fbb7167ed005783ac5aef3e75699f45ffe2af8

There are now five separate space allocator interfaces exposed to the
rest of XFS for five different strategies to find space.  Add
tracepoints for each of them so that I can tell from a trace dump
exactly which ones got called and what happened underneath them.  Add a
sixth so it's more obvious if an allocation actually happened.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
include/xfs_trace.h
libxfs/xfs_alloc.c