[BUG] JFFS2 usage of write_begin and write_end functions causes kernel panic

Alexey Korolev akorolev at infradead.org
Fri Apr 11 14:00:42 EDT 2008


Hi Jean,
> Alexey,
> 
> Here is the patch (attached) I applied to get a stable JFFS2 filesystem.
> The changes have been cherry picked from 
> http://sourceforge.net/projects/mtd-mods.
> 
> I stressed it with intensive read/write, flash fill-up and data removal. A few 
> GB's of data have been transferred without any problem. I didn't try the tool 
> you mentionned though.
> Tested on OMAP3 platform.
> 
> Now I am testing with PREEMPT_RT config.

Oh very interesting link. I'm glad to hear that people use it - even
before announce. Actually I know this project very well - I'm the author and maintainer of this ;-). The project will be announced soon.

You can find the workaround  for the kernel panic problem which disables write_begin and write_end in JFFS2 already exists in the newest release. But fix for the problem does not ready yet. We found one bug in implementation but post validation is not completed yet.  

The patch you have sent is intended to fix another kernel panic issue. It doesn't depend on write_begin/write_end functionalities. Sometime ago we posted the fix to get included, but it was rejected. 

Thanks,
Alexey



More information about the linux-mtd mailing list