aboutsummaryrefslogtreecommitdiff
path: root/sys/cddl/contrib/opensolaris/uts/common/sys/sysevent
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2018-01-22 04:31:48 +0000
committerAlexander Motin <mav@FreeBSD.org>2018-01-22 04:31:48 +0000
commitb5eb78f824da057cfec5f289cf940660e65c6c8b (patch)
tree737332c44c53b8d1625f877de6bb079a57ef8c81 /sys/cddl/contrib/opensolaris/uts/common/sys/sysevent
parentabe7ff88e18e8879cda304ce4112ca4517c9f554 (diff)
parentee700ae0c6d039361897acd415a285e9dabe3401 (diff)
downloadsrc-b5eb78f824da057cfec5f289cf940660e65c6c8b.tar.gz
src-b5eb78f824da057cfec5f289cf940660e65c6c8b.zip
MFV r328247: 8959 Add notifications when a scrub is paused or resumed
illumos/illumos-gate@301fd1d6f25595cd8c6d6795f39c72d97aff8cd9 Reviewed by: Alek Pinchuk <pinchuk.alek@gmail.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Gordon Ross <gwr@nexenta.com> Author: Sean Eric Fagan <sef@ixsystems.com>
Notes
Notes: svn path=/head/; revision=328248
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/sys/sysevent')
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/sysevent/eventdefs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/sys/sysevent/eventdefs.h b/sys/cddl/contrib/opensolaris/uts/common/sys/sysevent/eventdefs.h
index 7357fec57963..e9efd0e4b306 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/sys/sysevent/eventdefs.h
+++ b/sys/cddl/contrib/opensolaris/uts/common/sys/sysevent/eventdefs.h
@@ -262,6 +262,9 @@ extern "C" {
#define ESC_ZFS_CONFIG_SYNC "ESC_ZFS_config_sync"
#define ESC_ZFS_SCRUB_START "ESC_ZFS_scrub_start"
#define ESC_ZFS_SCRUB_FINISH "ESC_ZFS_scrub_finish"
+#define ESC_ZFS_SCRUB_ABORT "ESC_ZFS_scrub_abort"
+#define ESC_ZFS_SCRUB_RESUME "ESC_ZFS_scrub_resume"
+#define ESC_ZFS_SCRUB_PAUSED "ESC_ZFS_scrub_paused"
#define ESC_ZFS_VDEV_SPARE "ESC_ZFS_vdev_spare"
#define ESC_ZFS_BOOTFS_VDEV_ATTACH "ESC_ZFS_bootfs_vdev_attach"
#define ESC_ZFS_POOL_REGUID "ESC_ZFS_pool_reguid"