diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-05-16 21:41:42 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-05-16 21:41:42 +0200 |
commit | 6e284eaad57843950a54f44f02f920216dd3fc88 (patch) | |
tree | 6abd320805cff612a155b11692f73bc63cbf81db /sys/src/cmd/python/Python/ast.c | |
parent | 5c2b4dfc8173355629e70a6437ccfc378f0bf757 (diff) |
ndb/cs: prevent deadlock with ndb/cs by mounting /srv/dns *AFTER* /net
the dnsquery() library function should not start mouting /srv/dns on
its own. this problem arrises only for ndb/cs as it is started before
ndb/dns.
the issue with mounting /srv/dns before /net is when ndb/cs attempts
to read the list of interfaces, accessing /net/ipifc, which triggers
a rpc to ndb/dns as it is ontop of the mount. this can yield a deadlock
when ndb/dns blocks its 9p loop waiting for requests to complete on
a refresh and the requests are stuck waiting for ndb/cs to translate
a dial string for announce().
Diffstat (limited to 'sys/src/cmd/python/Python/ast.c')
0 files changed, 0 insertions, 0 deletions