diff options
author | N Clark <[email protected]> | 2017-04-03 17:23:02 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-04-03 14:23:02 -0700 |
commit | bcdb96a3e197ebe64048464c19f505637b8bb7ba (patch) | |
tree | 6367806e991e3f559efc3b050a350e0951b2c40b /include/sys/fm/fs/zfs.h | |
parent | 3f2da6cb739f9d288f81abebb0f4bf94d266075d (diff) |
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 <[email protected]>
Reviewed-by: Don Brady <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Nathaniel Clark <[email protected]>
Closes #5942
Diffstat (limited to 'include/sys/fm/fs/zfs.h')
-rw-r--r-- | include/sys/fm/fs/zfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
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" |