Searched hist:362717 (Results 1 - 1 of 1) sorted by relevance
/freebsd-11-stable/usr.sbin/mountd/ | ||
H A D | mountd.c | diff 362717 Sun Jun 28 04:12:30 MDT 2020 rmacklem MFC: r361854 Fix mountd so that it will not lose SIGHUPs that indicate "reload exports". Without this patch, if a SIGHUP is handled while the process is executing get_exportlist(), that SIGHUP is essentially ignored because the got_sighup variable is reset to 0 after get_exportlist(). This results in the exports file(s) not being reloaded until another SIGHUP signal is sent to mountd. This patch fixes this by resetting got_sighup to zero before the get_exportlist() call while SIGHUP is blocked. It also defines a delay time of 250msec before doing another exports reload if there are RPC request(s) to process. This prevents repeated exports reloads from delaying handling of RPC requests significantly. PR: 246597 |
Completed in 203 milliseconds