OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_22_2-10-gab603b7
Gerrit Code Review
gerrit@openafs.org
Thu, 22 Feb 2018 15:36:23 -0500
The following commit has been merged in the openafs-stable-1_6_x branch:
commit ab603b7bb608ac4f0ab6fa869e56de5242f03f13
Author: Michael Meffie <mmeffie@sinenomine.net>
Date: Thu Jun 11 13:14:27 2015 -0400
libafs: vldb cache timeout option (-volume-ttl)
The unix cache manager caches VLDB information for read-only volumes as
long as a volume callback is held for a read-only volume. The volume
callback may be held as long as files in the read-only volume are being
accessed. The cache manager caches VLDB information for read/write
volumes as long as volume level errors (such as VMOVED) are not returned
by a fileserver while accessing files within the volume.
Add a new option to set the maximum amount of time VLDB information will
be cached, even if a callback is still held for a read-only volume, or
no volume errors have been encounted while accessing files in read/write
volumes.
This avoids situations where the vldb information is cached indefinitely
for read-only and read/write volumes. Instead, the VL servers will be
periodically probed for volume information.
Reviewed-on: https://gerrit.openafs.org/11898
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit 2a13973985bc7e190364d208c590ec42dbccf81b)
Change-Id: Ib2f97689b83aa147b70d2a8b29b2d8dde6487fce
Reviewed-on: https://gerrit.openafs.org/12687
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
doc/man-pages/pod8/afsd.pod | 16 ++++++++++++++++
src/afs/afs.h | 4 ++++
src/afs/afs_call.c | 9 +++++++++
src/afs/afs_volume.c | 19 +++++++++++++++++--
src/afsd/afsd.c | 17 +++++++++++++++++
src/config/afs_args.h | 1 +
6 files changed, 64 insertions(+), 2 deletions(-)
--
OpenAFS Master Repository