aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zed/zed_exec.h
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-03-26 14:41:38 +0100
committerBrian Behlendorf <[email protected]>2021-04-02 16:30:08 -0700
commitca2ce9c50b6b579741de12867c9b7cbf4f799cb4 (patch)
tree5aa8f6de99cb7c7d33569cdc4660e883fa2b513a /cmd/zed/zed_exec.h
parent3ef80eefff37d92315b030008edc853512d487da (diff)
zed: use separate reaper thread and collect ZEDLETs asynchronously
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #11807
Diffstat (limited to 'cmd/zed/zed_exec.h')
-rw-r--r--cmd/zed/zed_exec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/zed/zed_exec.h b/cmd/zed/zed_exec.h
index 5eb9170ab..1f236e3b3 100644
--- a/cmd/zed/zed_exec.h
+++ b/cmd/zed/zed_exec.h
@@ -18,6 +18,8 @@
#include <stdint.h>
#include "zed_strings.h"
+void zed_exec_fini(void);
+
int zed_exec_process(uint64_t eid, const char *class, const char *subclass,
const char *dir, zed_strings_t *zedlets, zed_strings_t *envs,
int zevent_fd);