UBI and OneNAND

Josh Boyer jwboyer at linux.vnet.ibm.com
Tue Nov 7 09:24:15 EST 2006


On Tue, 2006-11-07 at 16:10 +0200, Artem Bityutskiy wrote:
> On Tue, 2006-11-07 at 05:47 -0600, Josh Boyer wrote:
> > It's the default.  I think it's too low of a default.  Others disagreed
> > with me.
> > 
> > Telling every new UBI user "may be it makes sense to reserve more" will
> > get old quick.  Perhaps the default should be bumped to 5 or so?
> 
> Actually with 128MiB flash the default ends up with something like
> 32EBs, which looks even too large, so I do not know...

What are you talking about?

(128MiB/128KiB) * .01 = 10.24

So you'd end up with 10EB.

Perhaps we should change MTD_UBI_BEB_RESERVE to be an actual number of
eraseblocks instead of a percent of the device.  So
MTD_UBI_BEB_RESERVE=1 would mean 1 EB, =10 would mean 10.

josh





More information about the linux-mtd mailing list