frequent cache corruption with arla 0.21 on linux 2.2.1

Magnus Ahltorp map at stacken.kth.se
Thu Feb 4 17:23:11 CET 1999


> Here are a few examples:
> 	1) Created a file, and it immediately shows up, but it reports "no
> such file or directory" when doing ls. (Same as if you mkm a non-existent
> volume.) Problem is, the file can't be removed or recreated. 

This normally works. Could you give a more thorough explanation of
what you do when this happens? 

> 	2) sigpending lied - I am getting so many of these that it is
> becoming a performance problem. The login time for an AFS account is
> significantly different when these are occurring.

Are they always occuring? I have never seen these.

> 	4) Complete lockups and oops's: In some cases, the lockups appear to
> be an extreme case of sigpending lied. In others, they are oopses.

Here is a patch that might work:

Index: xfs_message.c
===================================================================
RCS file: /usr/local/cvsroot/arla/xfs/linux/xfs_message.c,v
retrieving revision 1.46
diff -u -r1.46 xfs_message.c
--- xfs_message.c       1999/01/31 17:21:23     1.46
+++ xfs_message.c       1999/02/04 16:04:34
@@ -284,12 +284,12 @@
                XFSDEB(XDEBMSG, ("clear_all_childs: invalidating %p aliases:\n",
                                 child->d_inode));
                print_aliases(child->d_inode);
+               DENTRY_TO_XDENTRY(child)->valid = 0;
            }
            XFSDEB(XDEBMSG, ("clean_all_childs: child->d_count: %d child->d_inode: %p\n",
                             child->d_count, child->d_inode));
            if (child->d_count == 0)  /* Throw immediately */
                d_drop(child);
-           DENTRY_TO_XDENTRY(child)->valid = 0;
        }
        alias = alias->next;
     }





More information about the Arla-drinkers mailing list