[PATCH] mtd: Add config option to skip scanning bad blocks in partitions

Richard Weinberger richard.weinberger at gmail.com
Wed Jan 14 10:35:11 PST 2015


On Wed, Jan 14, 2015 at 7:08 PM, Daniel Ehrenberg <dehrenberg at google.com> wrote:
> To initialize the partitions, it takes me 3.5s with this config option
> turned on and .2s with the config option turned off. So a large
> proportion of the NAND startup time (not counting ubi coming up) is
> comes from this bad block scan. It takes about 1.87s to scan over the
> device, and I have my partitioning set up so there's an extra
> partition covering the whole device in addition to the individual
> partitions.

3.5seconds?! Wow.

-- 
Thanks,
//richard



More information about the linux-mtd mailing list