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.
|