From: Shmulik Ladkani Date: Wed, 4 Jul 2012 08:06:00 +0000 (+0300) Subject: UBI: introduce new bad PEB limit X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~33^2~20 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8beeb3bb9df8caba36ad3e4f226255dff9c92556;p=pandora-kernel.git UBI: introduce new bad PEB limit Introduce 'ubi->bad_peb_limit', which specifies an upper limit of PEBs UBI expects to go bad. Currently, it is initialized to a fixed percentage of total PEBs in the UBI device (configurable via CONFIG_MTD_UBI_BEB_LIMIT). The 'bad_peb_limit' is intended to be used for calculating the amount of PEBs UBI needs to reserve for bad eraseblock handling. Artem: minor amendments. Signed-off-by: Shmulik Ladkani Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed