#9924 NORM Not Tri: sugar logs opened O_SYNC

Zarro Boogs per Child bugtracker at laptop.org
Sun Jan 17 19:02:13 EST 2010


#9924: sugar logs opened O_SYNC
------------------------------------+---------------------------------------
           Reporter:  Quozl         |       Owner:               
               Type:  defect        |      Status:  new          
           Priority:  normal        |   Milestone:  Not Triaged  
          Component:  not assigned  |     Version:  not specified
         Resolution:                |    Keywords:               
        Next_action:  never set     |    Verified:  0            
Deployment_affected:                |   Blockedby:               
           Blocking:                |  
------------------------------------+---------------------------------------

Comment(by Quozl):

 Contributed a patch that defaults to not use ''O_SYNC'', and that provides
 a way to enable ''O_SYNC'' through a ''gconf'' configuration setting.

 Tested the patch on os108 using ''strace'' of ''prefdm'' to verify no
 other process is opening files with ''O_SYNC''.  Nothing found.

 A few interesting things found:

  * /usr/libexec/gfconfd-2 is using fsync(2) sparingly on files in /tmp.

  * datastore-service is using fsync(2) on the datastore index DB files.

  * Browse is using fdatasync(2) on cache files, stored in
 .sugar/default/org.laptop.WebActivity/data/gecko/Cache as the data is
 downloaded.  This may lead to performance degradation if the fdatasync(2)
 stalls rendering.

-- 
Ticket URL: <http://dev.laptop.org/ticket/9924#comment:5>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list