xfs
[Top] [All Lists]

Re: XFS journaling modes

To: KrishnaPradeep Tamma <krishnapradeep@xxxxxxxxx>
Subject: Re: XFS journaling modes
From: Keith Owens <kaos@xxxxxxx>
Date: Sun, 17 Apr 2005 16:19:12 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: Your message of "Sun, 17 Apr 2005 00:10:57 EST." <2ca133d205041622106b61c016@mail.gmail.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Sun, 17 Apr 2005 00:10:57 -0500, 
KrishnaPradeep Tamma <krishnapradeep@xxxxxxxxx> wrote:
>Hi,
>
>Could some one tell, what type of journaling modes XFS support.?
>
>Some thing like
>
>data
>Ordered
>writeback

XFS journals metadata updates, not data updates.  IOW, it keeps the
filesystem metadata in a consistent state (no fsck on restart), but
there are no guarantees about the contents of data files.

Data integrity is left to the application level, it is up to the
application to issue msync or fdatasync when the application needs a
checkpoint.  Opening a file with O_SYNC will have the same effect as
flushing after every update, but that can be significantly slower.


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