From 12fa0466df8773fc6151e8b55367a1c4f76ec407 Mon Sep 17 00:00:00 2001 From: Dave Eddy Date: Tue, 30 May 2017 11:39:17 -0700 Subject: OpenZFS 6939 - add sysevents to zfs core for commands Authored by: Dave Eddy Reviewed by: Patrick Mooney Reviewed by: Joshua M. Clulow Reviewed by: Josh Wilsdon Reviewed by: Matthew Ahrens Reviewed by: George Wilson Reviewed by: Richard Elling Reviewed by: Alan Somers Reviewed by: Andrew Stormont Approved by: Matthew Ahrens Reviewed-by: Brian Behlendorf Reviewed-by: George Melikov Ported-by: Giuseppe Di Natale OpenZFS-issue: https://www.illumos.org/issues/6939 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/ce1577b Closes #6328 --- include/sys/sysevent/eventdefs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sys/sysevent') diff --git a/include/sys/sysevent/eventdefs.h b/include/sys/sysevent/eventdefs.h index eadaaef58..fc2687842 100644 --- a/include/sys/sysevent/eventdefs.h +++ b/include/sys/sysevent/eventdefs.h @@ -21,6 +21,7 @@ /* * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright 2015 Nexenta Systems, Inc. All rights reserved. + * Copyright 2017 Joyent, Inc. */ #ifndef _SYS_SYSEVENT_EVENTDEFS_H @@ -112,6 +113,7 @@ extern "C" { #define ESC_ZFS_VDEV_AUTOEXPAND "vdev_autoexpand" #define ESC_ZFS_BOOTFS_VDEV_ATTACH "bootfs_vdev_attach" #define ESC_ZFS_POOL_REGUID "pool_reguid" +#define ESC_ZFS_HISTORY_EVENT "history_event" /* * datalink subclass definitions. -- cgit v1.2.3