diff options
author | наб <[email protected]> | 2021-03-26 21:18:18 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-04-02 16:29:35 -0700 |
commit | 3ef80eefff37d92315b030008edc853512d487da (patch) | |
tree | dc9ac5d5dee516dfe5a84a1cb77c1fdd3256c37f /cmd/zed/agents/zfs_agents.c | |
parent | 583e320546972945b9bf79fac82bf3c398d74d3b (diff) |
zed: set names for all threads
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #11807
Diffstat (limited to 'cmd/zed/agents/zfs_agents.c')
-rw-r--r-- | cmd/zed/agents/zfs_agents.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/zed/agents/zfs_agents.c b/cmd/zed/agents/zfs_agents.c index 67b7951b0..35dd818ff 100644 --- a/cmd/zed/agents/zfs_agents.c +++ b/cmd/zed/agents/zfs_agents.c @@ -392,6 +392,7 @@ zfs_agent_init(libzfs_handle_t *zfs_hdl) list_destroy(&agent_events); zed_log_die("Failed to initialize agents"); } + pthread_setname_np(g_agents_tid, "agents"); } void |