xfs
[Top] [All Lists]

Re: Zero filled files

To: kris buggenhout <kris.buggenhout@xxxxxxxxx>
Subject: Re: Zero filled files
From: Steve Lord <lord@xxxxxxx>
Date: 12 May 2003 12:29:56 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <3EBFD727.E9F1DC70@xxxxxxxxx>
Organization:
References: <20030512102338.GA3268@xxxxxxxxxxxxxxx> <1052742135.1173.1.camel@xxxxxxxxxxxxxxxxxxxxxxx> <3EBFD727.E9F1DC70@xxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Mon, 2003-05-12 at 12:17, kris buggenhout wrote:
> Steve Lord wrote: 
> > On Mon, 2003-05-12 at 05:23, Axel Thimm wrote: 
> > > I know about XFS's zeroing of files for such files that were still
> > marked as 
> > > dirty when the crash occured. I wonder about two things: 
> > > 
> > > o Why are 15-20 minutes old files also wiped out? Are the
> > write-backs that 
> > >   much delayed (even if there is not other FS/CPU load)? 
> > > 
> > > o What is the best way to find these files (why aren't their names
> > simply 
> > >   dumped to the kernel logs)? Something like 
> > > 
> > >   find . -xdev -type f \! -empty | xargs <grep for non-zero
> > character here> 
> > > 
> > >   What's the best expression for the last part? 
> > > 
> > > (Red Hat 8.0 & XFS 1.2) 
> > > -- 
> > > Axel.Thimm@xxxxxxxxxxxxxxxxxxx 
> > 
> > You need to try the current cvs kernel, there was a major rework of
> > xfs 
> > sync recently which should have fixed this. 
> > 
> > Steve
> current cvs kernel as in 2.4.x or 2.5.x ? 

Both should have it.

Steve

-- 

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


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