diff options
author | наб <[email protected]> | 2021-03-29 15:21:54 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-04-02 16:30:53 -0700 |
commit | 73218f41b4413ec75a5d877771a03ab98e8fb3c3 (patch) | |
tree | fcee5624c65012b071dd704e75928b743ea405d5 /cmd/zed/zed_event.c | |
parent | 02a0fa19995a865fe5194f1777e77dc8779d89b6 (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.c | 3 |
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); |