remove exclusive mode when scheduling zone load

Remove the exclusive mode when scheduling the zone load right after
(re)loading `named` configuration, as there is no reason anymore to
schedule zone loading while the exclusive lock is held. Data which can
be read or written by multiple threads are locked or atomic.
This commit is contained in:
Colin Vidal 2025-11-10 09:49:06 +01:00
parent 103799ac23
commit e8e879c008

View file

@ -9294,8 +9294,6 @@ load_zones(named_server_t *server, bool reconfig) {
zl->server = server;
zl->reconfig = reconfig;
isc_loopmgr_pause();
isc_refcount_init(&zl->refs, 1);
/*
@ -9339,8 +9337,6 @@ cleanup:
isc_mem_put(server->mctx, zl, sizeof(*zl));
}
isc_loopmgr_resume();
return result;
}