[Bugs] #1566 UNSP: Call fsync() for metadata writes

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Mar 8 16:28:01 EST 2010


#1566: Call fsync() for metadata writes
------------------------------------------+---------------------------------
    Reporter:  sayamindu                  |          Owner:  alsroot                    
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar-datastore            |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:  r!                         
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
Changes (by sascha_silbe):

  * keywords:  r? => r!


Comment:

 While I can see some merit in this patch, I'm worried about performance on
 XO-1 and XO-1.5. It would be nice if you could provide some data points
 (i.e. how long it takes to save an entry a) with and b) without syncing).
 {{{fdatasync()}}} should be enough, BTW, we don't rely on file system
 level metadata (mtime, atime, etc.) in any way.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1566#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list