]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-linux-try-to-reduce-invasiveness-of-flushdcachechildren-20020725
authorChas Williams <chas@cmf.nrl.navy.mil>
Mon, 19 Aug 2002 21:40:22 +0000 (21:40 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 19 Aug 2002 21:40:22 +0000 (21:40 +0000)
try to become less invasive about dcache child flushing

(cherry picked from commit efbaa07c990df1bd190bbc4851535810a4eeb208)

src/afs/afs_vcache.c

index 42da4f9fb193cafdce9e96d9bae092b5df86b896..afecfda92557d5115ddb8f5adea9eff981002315 100644 (file)
@@ -490,6 +490,7 @@ restart:
     cur = head;
     while ((cur = cur->next) != head) {
        dentry = list_entry(cur, struct dentry, d_alias);
+#ifdef notdef
        if (DCOUNT(dentry)) {
            this_parent = dentry;
        repeat:
@@ -528,6 +529,7 @@ restart:
                goto resume;
            }
        }
+#endif
 
        if (!DCOUNT(dentry)) {
            AFS_GUNLOCK();