OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-1991-gf469be4
Gerrit Code Review
Fri, 16 Dec 2011 11:14:07 -0800 (PST)
The following commit has been merged in the master branch:
Author: Andrew Deason <email@example.com>
Date: Wed Dec 14 14:42:08 2011 -0600
afs: Clear VHardMount on ResetVolumeInfo
afs_Analyze sets VHardMount on a volume struct when a hard-mount
scenario is encountered, and clears it after sleeping. However, if the
volume struct has VRecheck set, or if it's not in memory, afs_Analyze
cannot retrieve the volume struct in order to clear VHardMount again.
For the VRecheck case, this can results in VHardMount never getting
cleared, and so hard-mount messages for the volume seem to disappear.
So, clear VHardMount when we set VRecheck so this does not occur.
For the case where the volume struct is not in memory, this is not a
problem, since when we allocate a volume struct again, the VHardMount
state will not be retained.
Reviewed-by: Derrick Brashear <firstname.lastname@example.org>
Tested-by: BuildBot <email@example.com>
src/afs/afs_volume.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
OpenAFS Master Repository