From bcdb96a3e197ebe64048464c19f505637b8bb7ba Mon Sep 17 00:00:00 2001 From: N Clark Date: Mon, 3 Apr 2017 17:23:02 -0400 Subject: Additional Information for Zedlets * Add ZPOOL pool state to zfs_post_common to allow differentiation between export and destroy by zedlets. * Add pool name as standard export This ensures pool name is exported to zedlets. Reviewed-by: Tony Hutter Reviewed-by: Don Brady Reviewed-by: Brian Behlendorf Signed-off-by: Nathaniel Clark Closes #5942 --- include/sys/fm/fs/zfs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/sys/fm/fs/zfs.h b/include/sys/fm/fs/zfs.h index 7a8c36ea2..6bef8b4ee 100644 --- a/include/sys/fm/fs/zfs.h +++ b/include/sys/fm/fs/zfs.h @@ -54,6 +54,7 @@ extern "C" { #define FM_EREPORT_PAYLOAD_ZFS_POOL_FAILMODE "pool_failmode" #define FM_EREPORT_PAYLOAD_ZFS_POOL_GUID "pool_guid" #define FM_EREPORT_PAYLOAD_ZFS_POOL_CONTEXT "pool_context" +#define FM_EREPORT_PAYLOAD_ZFS_POOL_STATE "pool_state" #define FM_EREPORT_PAYLOAD_ZFS_VDEV_GUID "vdev_guid" #define FM_EREPORT_PAYLOAD_ZFS_VDEV_TYPE "vdev_type" #define FM_EREPORT_PAYLOAD_ZFS_VDEV_PATH "vdev_path" -- cgit v1.2.3