[Top] [All Lists]

Re: xfs as root fs

To: Thomas Graichen <graichen@xxxxxxxxxxxxx>
Subject: Re: xfs as root fs
From: Russell Cattelan <cattelan@xxxxxxxxxxx>
Date: Fri, 08 Sep 2000 15:36:40 -0500
Cc: linux-xfs@xxxxxxxxxxx
References: <lord@xxxxxxx> <200009081540.KAA18672@xxxxxxxxxxxxxxxxxxxx> <news2mail-8pb1p8$r4f$10@xxxxxxxxxxxxxxxxxxxxxx> <39B92B33.7ACC80D2@xxxxxxxxxxx> <news2mail-8pbahc$pc4$1@xxxxxxxxxxxxxxxxxxxxxx> <39B92F8D.1E732EAE@xxxxxxxxxxx> <news2mail-8pbep3$r73$2@xxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Thomas Graichen wrote:

> Russell Cattelan <cattelan@xxxxxxxxxxx> wrote:
> >> due to my experience i had it nearly everytime when i checked ...
> >> i may reboot and check this machine in a few minutes and see and
> >> maybe send you the xfs_repair output ... so a few minutes from
> >> now ...
> > I'll restart my xfs root fs machine with the latest build... see what 
> > happens.
> > Maybe it's a recent change.
> hmmm - schroedingers cat - i just tried to reproduce it and now it
> works all time ... so if you have other things to work on just
> ignore this one until i have reproduced it better and can
> give you some more details about it

Try this patch... it may help.

This will issue another round of trying to sync the fs to a clean state.
In talking with Steve about this, it may be possible for xfs inodes to not
be flushed out after the first sync, hopefully the second one will catch the 
the clean up necessary.

*** /usr/tmp/TmpDir.15204-0/linux/fs/xfs/linux/xfs_super.c_1.86 Fri Sep  8 
--- linux/fs/xfs/linux/xfs_super.c      Fri Sep  8 14:44:54 2000
*** 565,570 ****
--- 565,573 ----
                                  sys_cred, error);
+               PVFS_SYNC(vfsp->vfs_fbhv,
+                                 SYNC_ATTR|SYNC_WAIT|SYNC_CLOSE,
+                                 sys_cred, error);
                if (error) {
                  printk("XFS: Failed to sync for read-only remount\n");

<Prev in Thread] Current Thread [Next in Thread>