LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices

Reply
 
Search this Thread
Old 03-17-2009, 01:50 AM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 73,443

Rep: Reputation: 82
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Possible data loss in Ext4 LXer Syndicated Linux News 1 03-12-2009 10:56 AM
LXer: Anatomy of ext4 LXer Syndicated Linux News 0 02-23-2009 08:50 AM
LXer: The Ext4 Filesystem LXer Syndicated Linux News 1 12-25-2008 02:58 PM
fflush and fsync? power123 Programming 6 11-02-2005 11:04 PM
fsync() is slow on some systems brian_p_sully Linux - General 0 05-06-2004 09:58 AM


All times are GMT -5. The time now is 12:09 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration