fsync in ext3: A question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a question on fsync() and ext3's journaling modes.

Assume that I call fsync(fd) on a file.

If that file is in 'data=journal' mode, would the fsync() return once the
data gets safely into the journal ?

On the other hand, if that file is in 'data=writeback' mode, would the
fsync() return only when the data gets safely into its actual location ?

Any help is appreciated.

Thanks,
Vijayan


_______________________________________________

Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux