#9924 LOW 1.5-sof: sugar logs opened O_SYNC

Zarro Boogs per Child bugtracker at laptop.org
Wed Mar 10 07:33:09 EST 2010


#9924: sugar logs opened O_SYNC
------------------------------+---------------------------------------------
           Reporter:  Quozl   |       Owner:  Quozl                             
               Type:  defect  |      Status:  assigned                          
           Priority:  low     |   Milestone:  1.5-software-later                
          Component:  sugar   |     Version:  1.5 Software Build os64 aka 10.1.0
         Resolution:          |    Keywords:                                    
        Next_action:  design  |    Verified:  0                                 
Deployment_affected:          |   Blockedby:                                    
           Blocking:          |  
------------------------------+---------------------------------------------

Comment(by pgf):

 unless we're worried about sugar causing the OS to crash, O_SYNC seems the
 wrong tool for the job.  simply setting stdio to be unbuffered (i.e., like
 stderr) is sufficient to ensure log data gets to the disk.  (perhaps this
 is what was discussed at the sugar meeting.)

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


More information about the Bugs mailing list