JFFS2 Dirent Anomaly
|Reported by:||wmb@…||Owned by:||krstic|
|Priority:||blocker||Milestone:||8.2.0 (was Update.2)|
|Keywords:||Cc:||mstone, cscott, wmb, dwmw2, bertl|
|Deployments affected:||Action Needed:|
We have a laptop with a JFFS2 filesystem with lots of bogus dirent nodes. OFW q2c28 cannot read from this filesystem, and although Linux can read it, certain operations are very slow. Analysis shows that there is a directory /versions/b0rked that contains 6 million dirent nodes for the file "joydev.ko".
David thinks that the problem is caused by a bug in the JFFS2 garbage collector; instead of cleaning out the garbage, it sometimes just keeps making clones of the same dirent node.
There are two things that need fixing:
a) OFW needs to cope with this pathology
b) JFFS2 needs to stop making it
I am filing this bug against the kernel because the OFW fix is about to be checked in, so there is little point in tracking it against open firmware.
Change History (27)
comment:10 Changed 9 years ago by dilinger
- Owner changed from dwmw2 to mstone
- Status changed from assigned to new