LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Syndicated Linux News (http://www.linuxquestions.org/questions/syndicated-linux-news-67/)
-   -   LXer: ext4 vs fsync, my take (http://www.linuxquestions.org/questions/syndicated-linux-news-67/lxer-ext4-vs-fsync-my-take-712169/)

LXer 03-17-2009 01:50 AM

LXer: ext4 vs fsync, my take
 
Published at LXer:

There has been a lot of discussion about the ext4 data loss issue, and I see a lot of misconceptions, both about why rename() is used and what guarantees POSIX gives. Iíll try to give the background, and then my opinion on the situation. There are two basic ways to update a file. You can either truncate the old file and write the new contents, or you can write the new contents to a temporary file and rename it over the old file when finished. The rename method have several advantages, partly based on the fact that rename is atomic.

Read More...


All times are GMT -5. The time now is 10:13 PM.