xfs
[Top] [All Lists]

Re: XFS recovery issues

To: Cory Visi <merlin@xxxxxxxxxxxxx>
Subject: Re: XFS recovery issues
From: Steve Lord <lord@xxxxxxx>
Date: 23 Sep 2003 10:03:01 -0500
Cc: linux-xfs@xxxxxxxxxxx, Christoph Hellwig <hch@xxxxxxxxxxxxx>, Nathan Scott <nathans@xxxxxxx>
In-reply-to: <Pine.LNX.4.30.0309231053140.32341-100000@xxxxxxxxxxxxx>
Organization:
References: <Pine.LNX.4.30.0309231053140.32341-100000@xxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Tue, 2003-09-23 at 09:56, Cory Visi wrote:
> On Tue, 23 Sep 2003, Christoph Hellwig wrote:
> 
> > On Tue, Sep 23, 2003 at 09:00:25AM -0400, Cory Visi wrote:
> > > gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)
> > >
> > > The lines in xfs_log.h seem to only affect 2.96. Could this still be an
> > > issue? Should I try the 2.96 code?
> >
> > It should not be needed.  You could try it anyway or even better try
> > an official gnu compiler release or one of the major distros with gcc
> > expertise instead of strangely patched stuff.
> 
> Thank you for tipping me off to compiler/gcc problems. I was compiling the
> kernel with -Os. When I reverted this back to -O2, XFS recovery began
> working.
> 
> Should XFS be able to be compiled with -Os? Is my gcc doing something
> funky with -Os? Hopefully this experience will become helpful to someone.

Maybe you should ask if gcc should be able to cope with XFS ;-) if
changing the optimization level breaks the code, then the compiler is
usually at fault.

Steve



> 
> Thank you,
> Cory Visi
-- 

Steve Lord                                      voice: +1-651-683-3511
Principal Engineer, Filesystem Software         email: lord@xxxxxxx


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