#4184 BLOC First D: JFFS2 Dirent Anomaly

Zarro Boogs per Child bugtracker at laptop.org
Wed Oct 17 18:03:55 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):

 Here is a test script from Bertl that will reproduce the race condition
 issue:

 rm -f za zb zc zd
 echo five >za
 ln za zb; ln za zc; ln za zd
 setattr --iunlink za
 sysctl -w vserver.debug_misc=7
 touch ze
 touch za zb zc & touch zc zb za

 If you run that whole sequence about 10 times, then reboot and do an "ls",
 you will usually see

 ls: cannot access zb: No such file or directory  (or za or zc)

 Then, if you do "rm z*", then another "ls", one or more of the zN files
 will not have been deleted.

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



More information about the Bugs mailing list