From: Darrick J. Wong Date: Sun, 22 Feb 2026 22:41:03 +0000 (-0800) Subject: xfs: convey filesystem unmount events to the health monitor X-Git-Tag: v7.0.0~93 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b8f406861a225f72134cbfb1e2f9f77fa54c76d3;p=xfsprogs-dev.git xfs: convey filesystem unmount events to the health monitor Source kernel commit: 25ca57fa3624cae9c6b5c6d3fc7f38318ca1402e In xfs_healthmon_unmount, send events to xfs_healer so that it knows that nothing further can be done for the filesystem. Signed-off-by: "Darrick J. Wong" Reviewed-by: Christoph Hellwig --- diff --git a/libxfs/xfs_fs.h b/libxfs/xfs_fs.h index 22b86bc8..59de6ab6 100644 --- a/libxfs/xfs_fs.h +++ b/libxfs/xfs_fs.h @@ -1014,6 +1014,9 @@ struct xfs_rtgroup_geometry { #define XFS_HEALTH_MONITOR_TYPE_RUNNING (0) #define XFS_HEALTH_MONITOR_TYPE_LOST (1) +/* filesystem was unmounted */ +#define XFS_HEALTH_MONITOR_TYPE_UNMOUNT (2) + /* lost events */ struct xfs_health_monitor_lost { __u64 count;