mldonkey-users
[Top][All Lists]
Advanced

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

[Mldonkey-users] [patch #7219] fsync rename options files


From: ygrek
Subject: [Mldonkey-users] [patch #7219] fsync rename options files
Date: Sun, 13 Jun 2010 14:59:55 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.16) Gecko/2009121610 Iceweasel/3.0.14 (Debian-3.0.14-1)

URL:
  <http://savannah.nongnu.org/patch/?7219>

                 Summary: fsync rename options files
                 Project: mldonkey, a multi-networks file-sharing client
            Submitted by: ygrek
            Submitted on: Sun 13 Jun 2010 02:59:53 PM GMT
                Category: None
                Priority: 5 - Normal
                  Status: Ready For Test
             Assigned to: ygrek
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Looking at the options code, it appears that temp-rename pattern is used, but
without fsync. AFAIK this can lead to file corruption if machine crashes/loses
power except when filesystem is 'ext3 data=ordered'.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 13 Jun 2010 02:59:54 PM GMT  Name: fsync_rename.diff  Size: 1kB  
By: ygrek

<http://savannah.nongnu.org/patch/download.php?file_id=20745>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?7219>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]