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

fsync in ext3: A question



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




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