]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: start creating infrastructure for health monitoring
authorDarrick J. Wong <djwong@kernel.org>
Wed, 21 Jan 2026 02:06:45 +0000 (18:06 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 21 Jan 2026 02:06:45 +0000 (18:06 -0800)
commita48373e7d35a89f6f9b39f0d0da9bf158af054ee
tree41f04f132f836afca3aa6e7431d9cbbd998fa9f8
parent347b7042fb26beaae1ea46d0f6c47251fb52985f
xfs: start creating infrastructure for health monitoring

Start creating helper functions and infrastructure to pass filesystem
health events to a health monitoring file.  Since this is an
administrative interface, we only support a single health monitor
process per filesystem, so we don't need to use anything fancy such as
notifier chains (== tons of indirect calls).

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/Makefile
fs/xfs/libxfs/xfs_fs.h
fs/xfs/xfs_health.c
fs/xfs/xfs_healthmon.c [new file with mode: 0644]
fs/xfs/xfs_healthmon.h [new file with mode: 0644]
fs/xfs/xfs_ioctl.c
fs/xfs/xfs_mount.c
fs/xfs/xfs_mount.h