summaryrefslogtreecommitdiffstats
path: root/include/sys/sysevent/eventdefs.h
diff options
context:
space:
mode:
authorSean Eric Fagan <[email protected]>2017-11-06 15:13:23 -0800
committerBrian Behlendorf <[email protected]>2018-01-17 10:31:00 -0800
commit43cb30b3ce6ee3c3041276c93594ae61e7daaf86 (patch)
tree4fab0a8086bd6742c2e3615c883762999fda3c0b /include/sys/sysevent/eventdefs.h
parent3da3488e6339ff2dc5c7f3da8c8a0c552d018d68 (diff)
OpenZFS 8959 - Add notifications when a scrub is paused or resumed
Authored by: Sean Eric Fagan <[email protected]> Reviewed by: Alek Pinchuk <[email protected]> Reviewed by: Matthew Ahrens <[email protected]> Reviewed-by: George Melikov <[email protected]> Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Approved by: Gordon Ross <[email protected]> Ported-by: Giuseppe Di Natale <[email protected]> Porting Notes: - Brought #defines in eventdefs.h in line with ZFS on Linux format. - Updated zfs-events.5 with the new events. OpenZFS-issue: https://www.illumos.org/issues/8959 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/c862b93eea Closes #7049
Diffstat (limited to 'include/sys/sysevent/eventdefs.h')
-rw-r--r--include/sys/sysevent/eventdefs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sys/sysevent/eventdefs.h b/include/sys/sysevent/eventdefs.h
index 825d88a7b..aa13bd505 100644
--- a/include/sys/sysevent/eventdefs.h
+++ b/include/sys/sysevent/eventdefs.h
@@ -110,6 +110,9 @@ extern "C" {
#define ESC_ZFS_CONFIG_SYNC "config_sync"
#define ESC_ZFS_SCRUB_START "scrub_start"
#define ESC_ZFS_SCRUB_FINISH "scrub_finish"
+#define ESC_ZFS_SCRUB_ABORT "scrub_abort"
+#define ESC_ZFS_SCRUB_RESUME "scrub_resume"
+#define ESC_ZFS_SCRUB_PAUSED "scrub_paused"
#define ESC_ZFS_VDEV_SPARE "vdev_spare"
#define ESC_ZFS_VDEV_AUTOEXPAND "vdev_autoexpand"
#define ESC_ZFS_BOOTFS_VDEV_ATTACH "bootfs_vdev_attach"