From: Derrick Brashear Date: Mon, 19 Jul 2010 20:56:58 +0000 (-0400) Subject: ShakeLooseVCaches needs to avoid CVInit vcaches X-Git-Tag: openafs-devel-1_5_76~87 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=eb6914dbb30b211653d6e66f23c31e81d410c9ae;p=packages%2Fo%2Fopenafs.git ShakeLooseVCaches needs to avoid CVInit vcaches the code refactoring missed this case. sadly, it means we can panic under heavy vcache contention. FIXES 127645 Change-Id: I41929df066b8e3d447ba72e77be6777a306b8bf8 Reviewed-on: http://gerrit.openafs.org/2449 Reviewed-by: Simon Wilkinson Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/afs/afs_vcache.c b/src/afs/afs_vcache.c index af829510e..117c919fa 100644 --- a/src/afs/afs_vcache.c +++ b/src/afs/afs_vcache.c @@ -666,6 +666,8 @@ afs_ShakeLooseVCaches(afs_int32 anumber) refpanic("Exceeded pool of AFS vnodes(VLRU cycle?)"); } else if (QNext(uq) != tq) { refpanic("VLRU inconsistent"); + } else if (tvc->f.states & CVInit) { + continue; } fv_slept = 0;