]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: trace in-memory freecounters
authorChristoph Hellwig <hch@lst.de>
Fri, 31 Jan 2025 06:24:44 +0000 (07:24 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Feb 2025 04:49:07 +0000 (05:49 +0100)
commitd15fe109452fa5a93af83569ce40792fc95158b7
tree31fe3ad24807612660b80bf7b9112f601436932a
parent52a5a60d8bb0098f25dfdd8bbb30157047d14b40
xfs: trace in-memory freecounters

Add two tracepoints when the freecounter dips into the reserved pool
and when it is entirely out of space.

This requires moving enum xfs_free_counter to xfs_types.h to avoid
build failures in various sources files include xfs_trace.h, but
that's probably the right place for it anyway.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_types.h
fs/xfs/xfs_mount.c
fs/xfs/xfs_mount.h
fs/xfs/xfs_trace.h