From eb6914dbb30b211653d6e66f23c31e81d410c9ae Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Mon, 19 Jul 2010 16:56:58 -0400 Subject: [PATCH] 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 --- src/afs/afs_vcache.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.5