]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: convey externally discovered fsdax media errors to the health monitor
authorDarrick J. Wong <djwong@kernel.org>
Wed, 21 Jan 2026 02:06:49 +0000 (18:06 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 21 Jan 2026 02:06:49 +0000 (18:06 -0800)
commite76e0e3fc9957a5183ddc51dc84c3e471125ab06
treed0721b2ef66e34e71d541a9146fda0bc48faa2b7
parent74c4795e50f816dbf5cf094691fc4f95bbc729ad
xfs: convey externally discovered fsdax media errors to the health monitor

Connect the fsdax media failure notification code to the health monitor
so that xfs can send events about that to the xfs_healer daemon.

Later on we'll add the ability for the xfs_scrub media scan (phase 6) to
report the errors that it finds to the kernel so that those are also
logged by xfs_healer.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_fs.h
fs/xfs/xfs_healthmon.c
fs/xfs/xfs_healthmon.h
fs/xfs/xfs_notify_failure.c
fs/xfs/xfs_trace.c
fs/xfs/xfs_trace.h