Re: regarding journaling mode

Emmanuel Florac
2015-07-09T13:32:22Z

Le Thu, 9 Jul 2015 10:18:55 +0530
Rakesh Patel <patelrakeshcomp@gmail.com> écrivait:

> https://www.kernel.org/doc/Documentation/filesystems/ext4.txt
>
> data=writeback Data ordering is not preserved, data
> may be written into the main file system after its metadata has been
> committed to the journal.

First, this is ext4, not xfs. However XFS behaves the same way, that
is, it may update metadata BEFORE the data has been committed to disk.
This has been the standard behaviour of all filesystems since linux
2.6.30 I guess.

If you're interested in the details, search for O_PONIES on the web...

--
------------------------------------------------------------------------
Emmanuel Florac | Direction technique
| Intellique
| <eflorac@intellique.com>
| +33 1 78 94 84 02
------------------------------------------------------------------------