#9924 NORM Not Tri: sugar logs opened O_SYNC

Zarro Boogs per Child bugtracker at laptop.org
Wed Dec 23 11:43:27 EST 2009


#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 mstone):

 The use of O_SYNC is quite intentional; it helps people watching activity
 logs as activities crash and it helps make sure the logs make it to disk
 in case of hard crashes.

 Thus, while you may be right that it should not be used by default, it
 would still be good to use it if any of the sugar debugging flags are set.

 Also, you expressed unhappiness with the linear cost of the algorithm used
 for selecting the activity name. This algorithm was picked because it is
 simple and race-free. Do you know a faster algorithm with the same
 properties?

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


More information about the Bugs mailing list