From 0c0cc07c7671a6e409dda1c547e631ab89110187 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Thu, 27 Sep 2001 18:37:49 +0000 Subject: [PATCH] afs-lookup-put-back-vcache-entry-on-failed-evalmountpoint-20010927 based on observations of effects related to afs-lookup-check-evalmountpoint-return-20010221 and affirmed based on mail from Todd_DeSantis@transarc.com this should reduce but perhaps not eliminate the VLRU cycle: increase -stat parameter problem on Linux as it's not yet clear that this is the only problem and circumstantially it is probably not. --- src/afs/VNOPS/afs_vnop_lookup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/afs/VNOPS/afs_vnop_lookup.c b/src/afs/VNOPS/afs_vnop_lookup.c index 26dcd51a0..b81570c1b 100644 --- a/src/afs/VNOPS/afs_vnop_lookup.c +++ b/src/afs/VNOPS/afs_vnop_lookup.c @@ -1199,6 +1199,7 @@ afs_lookup(adp, aname, avcp, acred) ReleaseWriteLock(&tvc->lock); if (code) { + afs_PutVCache(tvc, WRITE_LOCK); if (tvolp) afs_PutVolume(tvolp, WRITE_LOCK); goto done; } -- 2.39.5