[Top] [All Lists]

Re: Zero filled files

To: Axel Thimm <Axel.Thimm@xxxxxxxxxxxxxxxxxxx>
Subject: Re: Zero filled files
From: Steve Lord <lord@xxxxxxx>
Date: 12 May 2003 07:22:13 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20030512102338.GA3268@xxxxxxxxxxxxxxx>
References: <20030512102338.GA3268@xxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
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.


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