zed: use separate reaper thread and collect ZEDLETs asynchronously

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #11807
This commit is contained in:
наб
2021-03-26 14:41:38 +01:00
committed by Brian Behlendorf
parent 3ef80eefff
commit ca2ce9c50b
5 changed files with 155 additions and 53 deletions
+2
View File
@@ -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);