OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_0-64-g4c33820
Gerrit Code Review
gerrit@openafs.org
Thu, 26 Nov 2020 23:11:30 -0500
The following commit has been merged in the master branch:
commit 4c33820525af510a8a937289005e39d5b6683b19
Author: Michael Meffie <mmeffie@sinenomine.net>
Date: Mon Aug 17 15:44:55 2020 -0400
vldb_check: Check for volume lock inconsistencies
Verify the a lock timestamp is set if, and only if, a lock volume
operation flag is also set.
When running vldb_check with the -fix option, fix the inconsistent
entries by setting the lock timestamp to the current time if a lock flag
is set, or by setting the VLOP_DELETE flag if the lock timestamp is set
but no lock flags are set. (The VLOP_DELETE flag is the flag set by the
'vos lock command, and is shown in vos output as "delete/misc".)
Volume lock fields can be put into an inconsistent state, at least, by
interupted vos rename operations, due to bugs in vos rename. When the
volume lock timestamp and lock flags are in this inconsistent state, the
volume is locked, but that is not indicated by 'vos listvldb'. The
volume can be unlocked by issuing 'vos unlock'.
Change-Id: Idc4f821a9eb7675edd78a8547fdfe46e838b0c89
Reviewed-on: https://gerrit.openafs.org/14307
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/vlserver/vldb_check.c | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository