[RFC] slight UBI scan time improvement

Nancy nancydreaming at gmail.com
Wed Apr 23 06:51:20 EDT 2008


On 4/23/08, Artem Bityutskiy <dedekind at infradead.org> wrote:
> On Wed, 2008-04-23 at 17:07 +0800, Nancy wrote:
> > Torure is enough : )
> > Will you please explain why pattern 0x00 is not enough, it still need
> > 0xA5 and 0x5A. What these information come from? Thanks in advance.
>
> Dunno, i just decided it might be good. And I just picked these values.
> If we fail  on the first pattern, we do not continue.
Okay.
Another question:
      Will you please explain why need leb_read_lock()?
      If I ummap a leb(only operate the eba table, do not do
ubi_wl_put_peb() ), then, what will that PEB belong to? wl->free,
wl->used, wl->prot.pnum, wl->prot.aec, wl->scrub? What will happen to
that PEB?


--
Best wishes,
Nancy



More information about the linux-mtd mailing list