UBI changes for 3.7-rc1
Hi Linus,
please, pull UBI changes.
The following changes since commit 4cbe5a555fa58a79b6ecbb6c531b8bab0650778d:
Linux 3.6-rc4 (2012-09-01 10:39:58 -0700)
are available in the git repository at:
git://git.infradead.org/linux-ubi.git tags/upstream-3.7-rc1
for you to fetch changes up to 55393ba1bdedc5ded79b34b4cc08898a7776cddb:
UBI: fix trivial typo 'it' => 'is' (2012-09-26 13:22:50 +0300)
----------------------------------------------------------------
The main change is the way we reserve eraseblocks for bad blocks handling. We used to reserve 2% of the partition, but now we are more aggressive and we reserve 2% of the entire chip, which is what actually manufacturers specify in data sheets. We introduced an option to users to override the default, though.
There are a couple of fixes as well, and a number of cleanups.
----------------------------------------------------------------
Artem Bityutskiy (7):
UBI: print image sequence number as unsigned integer
UBI: print PID in debug messages
arm: sam9_l9260_defconfig: correct CONFIG_MTD_UBI_BEB_LIMIT
UBI: fix autoresize handling in R/O mode
UBI: comply with coding style
UBI: use pr_ helper instead of printk
UBI: print less
Brian Norris (1):
UBI: fix trivial typo 'it' => 'is'
Jiang Lu (1):
UBI: load after mtd device drivers
Matthieu CASTET (1):
UBI: erase free PEB with bitflip in EC header
Richard Genoud (9):
mtd: mark mtd_is_partition argument as constant
mtd: mtdparts: introduce mtd_get_device_size
UBI: use the whole MTD device size to get bad_peb_limit
UBI: separate bad_peb_limit in a function
UBI: introduce MTD_PARAM_MAX_COUNT
UBI: prepare for max_beb_per1024 module parameter addition
UBI: check max_beb_per1024 value in ubi_attach_mtd_dev
UBI: allow specifying bad PEBs limit using module parameter
UBI: add max_beb_per1024 to attach ioctl
Shmulik Ladkani (5):
arm: sam9_l9260_defconfig: prepare to UBI config change
UBI: introduce new bad PEB limit
UBI: limit amount of reserved eraseblocks for bad PEB handling
UBI: kill CONFIG_MTD_UBI_BEB_RESERVE
arm: sam9_l9260_defconfig: remove non-existing config option
arch/arm/configs/sam9_l9260_defconfig | 2 +- drivers/mtd/mtdpart.c | 12 ++++++++++- drivers/mtd/ubi/Kconfig | 40 ++++++++++++++++++++++++------------ drivers/mtd/ubi/attach.c | 46 ++++++++++++++++++++--------------------- drivers/mtd/ubi/build.c | 204 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------- drivers/mtd/ubi/cdev.c | 18 ++++++++-------- drivers/mtd/ubi/debug.c | 153 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------- drivers/mtd/ubi/debug.h | 12 ++++------- drivers/mtd/ubi/eba.c | 33 ++++++++++++++---------------- drivers/mtd/ubi/gluebi.c | 30 +++++++++++++-------------- drivers/mtd/ubi/io.c | 80 +++++++++++++++++++++++++++++++++++------------------------------------ drivers/mtd/ubi/misc.c | 14 +++++++++---- drivers/mtd/ubi/ubi.h | 16 +++++++-------- drivers/mtd/ubi/vtbl.c | 10 ++++----- drivers/mtd/ubi/wl.c | 48 +++++++++++++++++++++++++++---------------- include/linux/mtd/partitions.h | 3 ++- include/mtd/ubi-user.h | 16 ++++++++++++++- 17 files changed, 412 insertions(+), 325 deletions(-)
Signature · 2 lines
Best Regards, Artem Bityutskiy
Quoted 9 lines · Artem Bityutskiy
Hi Linus,
please, pull UBI changes.
The following changes since commit
4cbe5a555fa58a79b6ecbb6c531b8bab0650778d:Linux 3.6-rc4 (2012-09-01 10:39:58 -0700)
are available in the git repository at:
FYI, there will be the second pull request with another major experimental UBI feature. I wanted to send it separately a bit later.
Signature · 2 lines
Best Regards, Artem Bityutskiy