• Linus Torvalds's avatar
    Merge tag 'upstream-3.7-rc1' of git://git.infradead.org/linux-ubi · 65b99c74
    Linus Torvalds authored
    Pull UBI changes from Artem Bityutskiy:
     "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."
    
    * tag 'upstream-3.7-rc1' of git://git.infradead.org/linux-ubi: (24 commits)
      UBI: fix trivial typo 'it' => 'is'
      UBI: load after mtd device drivers
      UBI: print less
      UBI: use pr_ helper instead of printk
      UBI: comply with coding style
      UBI: erase free PEB with bitflip in EC header
      UBI: fix autoresize handling in R/O mode
      UBI: add max_beb_per1024 to attach ioctl
      UBI: allow specifying bad PEBs limit using module parameter
      UBI: check max_beb_per1024 value in ubi_attach_mtd_dev
      UBI: prepare for max_beb_per1024 module parameter addition
      UBI: introduce MTD_PARAM_MAX_COUNT
      UBI: separate bad_peb_limit in a function
      arm: sam9_l9260_defconfig: correct CONFIG_MTD_UBI_BEB_LIMIT
      UBI: use the whole MTD device size to get bad_peb_limit
      mtd: mtdparts: introduce mtd_get_device_size
      mtd: mark mtd_is_partition argument as constant
      arm: sam9_l9260_defconfig: remove non-existing config option
      UBI: kill CONFIG_MTD_UBI_BEB_RESERVE
      UBI: limit amount of reserved eraseblocks for bad PEB handling
      ...
    65b99c74
vtbl.c 23.8 KB