#4184 BLOC First D: JFFS2 Dirent Anomaly

Zarro Boogs per Child bugtracker at laptop.org
Wed Oct 17 14:56:00 EDT 2007


#4184: JFFS2 Dirent Anomaly
--------------------------------+-------------------------------------------
  Reporter:  wmb at firmworks.com  |       Owner:  mstone                
      Type:  defect             |      Status:  new                   
  Priority:  blocker            |   Milestone:  First Deployment, V1.0
 Component:  kernel             |     Version:                        
Resolution:                     |    Keywords:                        
  Verified:  0                  |  
--------------------------------+-------------------------------------------

Comment(by wmb at firmworks.com):

 I reloaded os616 with copy-nand, booted, and the bogus joydev.ko\0 was not
 present.
 I did the whole thing twice, the first time with a USB disk attached so
 the backup procedure happened, and the second time without a USB disk.

 I looked at the JFFS2 raw data, searching for evidence of a duplicate
 cow_break_link on joydev.ko, and found none.  So this problem, while
 common enough (at least 4 confirmed cases), is not 100% repeatable.  That
 is consistent with a race condition - if a second thread were to enter
 may_open() after the first had completed the copy, then it would see the
 already-broken link and not attempt to rebreak it.

-- 
Ticket URL: <https://dev.laptop.org/ticket/4184#comment:12>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list