diff options
author | Sean Eric Fagan <[email protected]> | 2017-11-06 15:13:23 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-01-17 10:31:00 -0800 |
commit | 43cb30b3ce6ee3c3041276c93594ae61e7daaf86 (patch) | |
tree | 4fab0a8086bd6742c2e3615c883762999fda3c0b /include/sys/sysevent | |
parent | 3da3488e6339ff2dc5c7f3da8c8a0c552d018d68 (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')
-rw-r--r-- | include/sys/sysevent/eventdefs.h | 3 |
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" |