mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
7674d489fc
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 Reported by: patrykkotlowski@gmail.com Tested by: patrykkotlowski@gmail.com Reviewed by: markj MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D25127 |
||
---|---|---|
.. | ||
exports.5 | ||
Makefile | ||
Makefile.depend | ||
mountd.8 | ||
mountd.c | ||
netgroup.5 | ||
pathnames.h |