aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zed/zed_event.c
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-03-29 15:21:54 +0200
committerBrian Behlendorf <[email protected]>2021-04-14 13:19:49 -0700
commitfa991f2a47af29d0ae6de1b4e7737f5b9d3d0818 (patch)
tree21f1da7ed2b205cdda85ea6d3cadf8ae09172423 /cmd/zed/zed_event.c
parentdbf8baf8dd6f767777c9a3219ae9c4dd601f90a4 (diff)
zed: allow limiting concurrent jobs
200ms time-out is relatively long, but if we already hit the cap, then we'll likely be able to spawn multiple new jobs when we wake up Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #11807
Diffstat (limited to 'cmd/zed/zed_event.c')
-rw-r--r--cmd/zed/zed_event.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/zed/zed_event.c b/cmd/zed/zed_event.c
index d84d66070..6d746b7b1 100644
--- a/cmd/zed/zed_event.c
+++ b/cmd/zed/zed_event.c
@@ -955,8 +955,7 @@ zed_event_service(struct zed_conf *zcp)
_zed_event_add_time_strings(eid, zsp, etime);
- zed_exec_process(eid, class, subclass,
- zcp->zedlet_dir, zcp->zedlets, zsp, zcp->zevent_fd);
+ zed_exec_process(eid, class, subclass, zcp, zsp);
zed_conf_write_state(zcp, eid, etime);