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

Joakim Tjernlund
2008-04-12T13:31:16Z

> -----Original Message-----
> From: linux-mtd-bounces@lists.infradead.org [mailto:linux-mtd-bounces@lists.infradead.org] On Behalf
> Of Alexey Korolev
> Sent: den 11 april 2008 20:01
> To: Jean Pihet
> Cc: nickpiggin@yahoo.com.au; joern@logfs.org; linux-mtd@lists.infradead.org; dwmw2@infradead.org;
> akpm@linux-foundation.org
> Subject: Re: [BUG] JFFS2 usage of write_begin and write_end functions causes kernel panic
>
> 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.

Alexey,
are there other patches in your repo that isn't in Linus git tree? If so, which
ones and are they for NOR, NAND or both?

Jocke