mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 17:00:15 +00:00
5c6bd04211
When we serialize host information for DAFS during shutdown, we have no guarantee that the host is in a valid state when we look at it. This can result in a host being saved to disk when we are waiting for the host to respond to an RPC, and so the information about the host is invalid. For example, we can save a host that has the HWHO_INPROGRESS flag set, and when it is restored later, this can cause odd behavior since the flag is set but no thread is actually waiting for the host to respond. So instead, during state serialization, try to determine if a host may be in an invalid state, and simply skip the host if it may. Change-Id: I755640ea4ce607245ae98cc7455472ef781271e7 Reviewed-on: http://gerrit.openafs.org/5528 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementix.org> |
||
---|---|---|
.. | ||
.gitignore | ||
fileserver.rc | ||
Makefile.in | ||
NTMakefile | ||
serialize_state.c | ||
serialize_state.h | ||
state_analyzer.c |