Message ID | 170873836598.1902540.4172674196917244120.stgit@frogsfrogsfrogs (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/7] xfs: use thread_with_file to create a monitoring file | expand |
diff --git a/libxfs/xfs_fs_staging.h b/libxfs/xfs_fs_staging.h index 84b99816eec2..684d6d22cc8d 100644 --- a/libxfs/xfs_fs_staging.h +++ b/libxfs/xfs_fs_staging.h @@ -310,6 +310,14 @@ struct xfs_health_monitor { __u64 pad2[2]; /* zeroes */ }; +/* Return all health status events, not just deltas */ +#define XFS_HEALTH_MONITOR_VERBOSE (1ULL << 0) + +#define XFS_HEALTH_MONITOR_ALL (XFS_HEALTH_MONITOR_VERBOSE) + +/* Return events in JSON format */ +#define XFS_HEALTH_MONITOR_FMT_JSON (1) + /* Monitor for health events. */ #define XFS_IOC_HEALTH_MONITOR _IOR ('X', 48, struct xfs_health_monitor)