mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-26 03:12:16 -04:00
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:
parent
103799ac23
commit
e8e879c008
1 changed files with 0 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue