xfs
[Top] [All Lists]

Re: XFS data corruption 2

To: "Tang Lingbo(Allan)" <allan@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: XFS data corruption 2
From: Chris Wedgwood <cw@xxxxxxxx>
Date: Tue, 10 Dec 2002 21:10:33 -0800
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <LFEKLKBIIOCNDINOFFJGOEKKGHAA.allan@mountainviewdata.com>
References: <20021210205115.GA2505@tapu.f00f.org> <LFEKLKBIIOCNDINOFFJGOEKKGHAA.allan@mountainviewdata.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4i
On Wed, Dec 11, 2002 at 09:27:54AM +0800, Tang Lingbo(Allan) wrote:

> How about to use O_SYNC for file data change?

Sure, that should work.  Performance will suck.

> It's also impossible to make sure the last write?

I would *guess* it will work, but it should be tested.  However, if it
does work, don't expect it to always work.

You *cannot* assume that writing to a file is the be-all-and-end-all
for data security --- it's not.  Mail Transfer Agents know this and
have code to deal with this as appropriate.


   --cw


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