projects
/
linux
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84a1caf
)
UBI: Change the default percentage of reserved PEB
author
Richard Genoud
<richard.genoud@gmail.com>
Fri, 29 Jun 2012 06:57:41 +0000
(08:57 +0200)
committer
Artem Bityutskiy
<Artem.Bityutskiy@linux.intel.com>
Wed, 18 Jul 2012 07:13:41 +0000
(10:13 +0300)
The actual value (1%) is too low for actual NAND devices, a huge
majority of device has 2% maximum bad blocks (SLC or MLC).
(Actually it's 20 blocks on a 1024 blocks device, 40/2048...)
Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
drivers/mtd/ubi/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/mtd/ubi/Kconfig
b/drivers/mtd/ubi/Kconfig
index 738ee8dc16cdfb06e2f82d45fecc602d6254ad42..ea4b95b5451c8b6c2ec25a0905c5e4af7e1e76ee 100644
(file)
--- a/
drivers/mtd/ubi/Kconfig
+++ b/
drivers/mtd/ubi/Kconfig
@@
-29,7
+29,7
@@
config MTD_UBI_WL_THRESHOLD
config MTD_UBI_BEB_RESERVE
int "Percentage of reserved eraseblocks for bad eraseblocks handling"
- default
1
+ default
2
range 0 25
help
If the MTD device admits of bad eraseblocks (e.g. NAND flash), UBI