[RFC] slight UBI scan time improvement

Matthieu CASTET matthieu.castet at parrot.com
Wed Apr 23 05:21:19 EDT 2008


Artem Bityutskiy wrote:
> Hi,
>>>
>>> Hamish
>> Do you know when the bad block scanning finish and the ubi scan start ?
> 
> Good point Matthieu. Indeed, _at least_ 1.23 sec is spend in the driver
> for scanning against bad eraseblocks to build in-memory bad block table
> (BBT). And it is probably more than 1.23 sec. If you start using
> on-flash bad block table, this should go away. I never used on-flash
> BBT, but I know MTD supports this and for example OLPC has on-flash BBT.
> 
May be UBI should print a message at startup.


Matthieu



More information about the linux-mtd mailing list