linux-try-to-reduce-invasiveness-of-flushdcachechildren-20020725
authorChas Williams <chas@cmf.nrl.navy.mil>
Fri, 26 Jul 2002 00:37:51 +0000 (00:37 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 26 Jul 2002 00:37:51 +0000 (00:37 +0000)
try to become less invasive about dcache child flushing

src/afs/afs_vcache.c

index 002c17d..78999c5 100644 (file)
@@ -495,6 +495,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:
@@ -533,6 +534,7 @@ restart:
                goto resume;
            }
        }
+#endif
 
        if (!DCOUNT(dentry)) {
            AFS_GUNLOCK();