[PATCH MTD-UTILS v2 3/4] ubiattach: introduce max_beb_per1024 in UBI_IOCATT

Richard Genoud richard.genoud at gmail.com
Mon Aug 27 03:23:04 EDT 2012


2012/8/23 Artem Bityutskiy <dedekind1 at gmail.com>:
> On Wed, 2012-08-22 at 18:04 +0200, Richard Genoud wrote:
>> The ioctl UBI_IOCATT has been extended with max_beb_per1024 parameter.
>>
>> This parameter is used for adjusting the "maximum expected number of
>> bad blocks per 1024 blocks" for each mtd device.
>> The number of physical erase blocks (PEB) that UBI will reserve for bad
>> block handling is now:
>> whole_flash_chipset__PEB_number * max_beb_per1024 / 1024
>
> Pushed this one with some amendments.

Hi Artem,

Could you push your git to mtd-utils so that I can test the final
version, please ?

Best regards,
Richard.



More information about the linux-mtd mailing list