diff options
author | Dave Eddy <[email protected]> | 2017-05-30 11:39:17 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-07-12 21:28:13 -0700 |
commit | 12fa0466df8773fc6151e8b55367a1c4f76ec407 (patch) | |
tree | dc8627f3df85f8d2c0ce515afec0d17f20702a98 /include/sys/fm | |
parent | 314be68aa93a543f89d7c0137f25848e4c692653 (diff) |
OpenZFS 6939 - add sysevents to zfs core for commands
Authored by: Dave Eddy <[email protected]>
Reviewed by: Patrick Mooney <[email protected]>
Reviewed by: Joshua M. Clulow <[email protected]>
Reviewed by: Josh Wilsdon <[email protected]>
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed by: George Wilson <[email protected]>
Reviewed by: Richard Elling <[email protected]>
Reviewed by: Alan Somers <[email protected]>
Reviewed by: Andrew Stormont <[email protected]>
Approved by: Matthew Ahrens <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Ported-by: Giuseppe Di Natale <[email protected]>
OpenZFS-issue: https://www.illumos.org/issues/6939
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/ce1577b
Closes #6328
Diffstat (limited to 'include/sys/fm')
-rw-r--r-- | include/sys/fm/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/fm/util.h b/include/sys/fm/util.h index 6ee31764b..ff54b05bb 100644 --- a/include/sys/fm/util.h +++ b/include/sys/fm/util.h @@ -93,6 +93,7 @@ typedef struct zfs_zevent { extern void fm_init(void); extern void fm_fini(void); extern void fm_nvprint(nvlist_t *); +extern void zfs_zevent_post_cb(nvlist_t *nvl, nvlist_t *detector); extern int zfs_zevent_post(nvlist_t *, nvlist_t *, zevent_cb_t *); extern void zfs_zevent_drain_all(int *); extern int zfs_zevent_fd_hold(int, minor_t *, zfs_zevent_t **); |