[PATCH 3/4] UBI: use the whole MTD device size to get bad_peb_limit

Richard Genoud richard.genoud at gmail.com
Thu Aug 16 07:58:51 EDT 2012


2012/8/16 Shmulik Ladkani <shmulik.ladkani at gmail.com>:
> Hi,
>
> One more thing...
>
> On Wed, 15 Aug 2012 18:08:51 +0300 Artem Bityutskiy <dedekind1 at gmail.com> wrote:
>>  config MTD_UBI_BEB_LIMIT
>> -     int "Percentage of maximum expected bad eraseblocks"
>> -     default 2
>> -     range 0 25
>> +     int "Maximum expected bad eraseblock count per 1024 eraseblocks"
>> +     default 20
>> +     range 2 256
>
> Those defconfigs that explicilty set an original LIMIT should be
> adjusted as well, as the units have changed, no?

you mean that it should be between 0 and 256 ?



More information about the linux-mtd mailing list