UBI Fastmap fixes for 3.7

Richard Weinberger richard at nod.at
Tue Dec 4 09:48:06 EST 2012


Am Tue, 4 Dec 2012 08:45:18 -0600
schrieb Zach Sadecki <zsadecki at itwatchdogs.com>:

> On 12/03/2012 01:57 PM, Richard Weinberger wrote:
> > This patch series contains two brown-paper-bag-bugfixes.
> > I'm very sorry for them!
> >
> > [PATCH 1/2] ubi: Remove PEB from free tree in get_peb_for_wl()
> > This one fixes a very odd issue with fastmap disabled.
> > With fastmap disabled get_peb_for_wl() did not remove PEBs from
> > the free list. Therefore the free, used and scrub trees got
> > corrupted.
> >
> > [PATCH 2/2] ubi: Dont call ubi_self_check_all_ff() in __wl_get_peb()
> > The issue fixed by that patch is also very nasty. I missed that
> > ubi_self_check_all_ff() can sleep. So, we cannot call it from
> > __wl_get_peb().
> >
> > Thanks,
> > //richard
> Thanks, guys.  An overnight test run has shown that these patches
> have fixed the UBI problems on my board.  Something else odd is
> happening, but that's for another thread...

Good to know.
Is the other issue also related to UBI?

Thanks,
//richard



More information about the linux-mtd mailing list