diff options
author | Shmulik Ladkani <shmulik.ladkani@gmail.com> | 2012-07-04 10:06:00 +0200 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-09-04 08:38:58 +0200 |
commit | 8beeb3bb9df8caba36ad3e4f226255dff9c92556 (patch) | |
tree | 4758809d39183d7aaccaa8178c5d5150c2bf1a9d /drivers/mtd/ubi/wl.c | |
parent | arm: sam9_l9260_defconfig: prepare to UBI config change (diff) | |
download | linux-8beeb3bb9df8caba36ad3e4f226255dff9c92556.tar.xz linux-8beeb3bb9df8caba36ad3e4f226255dff9c92556.zip |
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 <shmulik.ladkani@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/wl.c')
0 files changed, 0 insertions, 0 deletions