Why erase_pending_blocks in write_super? (was: [PATCH] JFFS2: Erase max 3 EB's in ...)

Joakim Tjernlund joakim.tjernlund at transmode.se
Mon Feb 15 04:58:05 EST 2010


Joakim Tjernlund/Transmode wrote on 2010/02/13 14:35:05:
>
> Artem Bityutskiy <dedekind1 at gmail.com> wrote on 2010/02/12 13:59:42:
> >
> > On Fri, 2010-02-12 at 13:30 +0100, Joakim Tjernlund wrote:
> > > > So, can you please enlighten me? What's the advantage of having the pending
> > > > list erased in write_super? Can I possibly remove it without experiencing
> > > > other problems?
> > >
> > > Me too wants to know :)
> >
> > I believe there is no reason. This is why I suggested to move it to the
> > BGT.

> This is a fist pass. Seems to work but probably need more work.
> What do you think?

Here is the second pass ontop, just to show what I am
doing. I will wrap it up into one patch one we agree.



More information about the linux-mtd mailing list