OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2616-g387fe29
Gerrit Code Review
gerrit@openafs.org
Wed, 27 Jun 2012 05:40:22 -0700 (PDT)
The following commit has been merged in the master branch:
commit 387fe294f663abd9c92cd007869e2e9e8cc11d69
Author: Andrew Deason <adeason@sinenomine.net>
Date: Tue Jun 19 14:42:23 2012 -0500
viced: Clear all client CPS on FlushCPS
Currently the fileserver only finds the first applicable 'client'
structure (via h_ID2Client) for a FlushCPS operation, and invalidates
the CPS for it. However, there may be many 'client' structures in
memory for the given viceid, since we may have many connections for
the same user (possibly from different hosts).
So, modify FlushCPS to find all relevant client structures, and
invalidate the CPS calculation on them.
Change-Id: I46532984cc470f41c83fb8c686766e4a4d49edd0
Reviewed-on: http://gerrit.openafs.org/7574
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/viced/afsfileprocs.c | 38 +++++++++++++++-------------
src/viced/host.c | 61 +++++++++++++++++++++++++++++----------------
src/viced/host.h | 4 ++-
3 files changed, 62 insertions(+), 41 deletions(-)
--
OpenAFS Master Repository