Skip to content

UBI: Unsorted Block Images

Artem Bityutskiy lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20UBI: on-flash data structures headerinclude/mtd/ubi-header.h+360 -00 replies
2/20UBI: user-space API headerinclude/mtd/ubi-user.h+161 -00 replies
3/20UBI: kernel-space API headerinclude/linux/mtd/ubi.h+191 -00 replies
4/20UBI: internal headerdrivers/mtd/ubi/ubi.h+560 -00 replies
5/20UBI: startup codedrivers/mtd/ubi/build.c+843 -00 replies
6/20UBI: scanning unitdrivers/mtd/ubi/scan.c drivers/mtd/ubi/scan.h+1541 -00 replies
7/20UBI: I/O unitdrivers/mtd/ubi/io.c+1263 -00 replies
8/20UBI: volume table unitdrivers/mtd/ubi/vtbl.c+809 -00 replies
9/20UBI: wear-leveling unitdrivers/mtd/ubi/wl.c+1698 -01 reply
10/20UBI: EBA unitdrivers/mtd/ubi/eba.c+1132 -00 replies
11/20UBI: kernel API functionsdrivers/mtd/ubi/kapi.c+545 -00 replies
12/20UBI: update functionalitydrivers/mtd/ubi/upd.c+348 -00 replies
13/20UBI: volume management functionalitydrivers/mtd/ubi/vmt.c+811 -00 replies
14/20UBI: character devices functionalitydrivers/mtd/ubi/cdev.c+724 -00 replies
15/20UBI: gluebi functionalitydrivers/mtd/ubi/gluebi.c+337 -00 replies
16/20UBI: misc stuffdrivers/mtd/ubi/misc.c+105 -00 replies
17/20UBI: debugging stuffdrivers/mtd/ubi/debug.c drivers/mtd/ubi/debug.h+385 -00 replies
18/20UBI: JFFS2 UBI supportfs/jffs2/fs.c fs/jffs2/os-linux.h fs/jffs2/wbuf.c +1 more+43 -00 replies
19/20UBI: update MAINTAINERSMAINTAINERS+8 -00 replies
20/20UBI: linux build integrationdrivers/mtd/Kconfig drivers/mtd/Makefile drivers/mtd/ubi/Kconfig +3 more+175 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/20 take 4] UBI: Unsorted Block Images

Hello,

This patch-set contains UBI, which stands for Unsorted Block Images. This is closely related to the memory technology devices Linux subsystem (MTD), so this new piece of software is from drivers/mtd/ubi.

In short, UBI provides wear-levelling support across the whole flash chip. UBI completely hides 2 aspects of flash chips which make them very difficult to work with:
1. wear of eraseblocks;
2. bad eraseblocks.

UBI also makes it possible to dynamically create, delete and re-size flash partitions (UBI volumes). So here some analogy to LVM may be pointed.

There is some documentation available at:
http://www.linux-mtd.infradead.org/doc/ubi.html
http://www.linux-mtd.infradead.org/faq/ubi.html

The sources are available via the GIT tree:
git://git.infradead.org/ubi-2.6.git (stable)
git://git.infradead.org/~dedekind/dedekind-ubi-2.6.git (devel)

One can also browse the GIT trees at http://git.infradead.org/

This is the 4th iteration of the post which has fixed most of the stuff pointed to previously:

- Removed "itsy-bitsy" units
- Removed a lot of debugging stuff
- Fixed kernel-doc
- fixed inline damage in eba.c

 MAINTAINERS                   |    8
 drivers/mtd/Kconfig           |    2
 drivers/mtd/Makefile          |    2
 drivers/mtd/ubi/Kconfig       |   58 +
 drivers/mtd/ubi/Kconfig.debug |  104 ++
 drivers/mtd/ubi/Makefile      |    7
 drivers/mtd/ubi/build.c       |  843 ++++++++++++++++++++
 drivers/mtd/ubi/cdev.c        |  724 +++++++++++++++++
 drivers/mtd/ubi/debug.c       |  224 +++++
 drivers/mtd/ubi/debug.h       |  161 +++
 drivers/mtd/ubi/eba.c         | 1132 ++++++++++++++++++++++++++++
 drivers/mtd/ubi/gluebi.c      |  337 ++++++++
 drivers/mtd/ubi/io.c          | 1263 +++++++++++++++++++++++++++++++
 drivers/mtd/ubi/kapi.c        |  545 +++++++++++++
 drivers/mtd/ubi/misc.c        |  105 ++
 drivers/mtd/ubi/scan.c        | 1374 +++++++++++++++++++++++++++++++++
 drivers/mtd/ubi/scan.h        |  167 ++++
 drivers/mtd/ubi/ubi.h         |  560 +++++++++++++
 drivers/mtd/ubi/upd.c         |  348 ++++++++
 drivers/mtd/ubi/vmt.c         |  811 ++++++++++++++++++++
 drivers/mtd/ubi/vtbl.c        |  809 ++++++++++++++++++++
 drivers/mtd/ubi/wl.c          | 1698 ++++++++++++++++++++++++++++++++++++++++++
 fs/jffs2/fs.c                 |   12
 fs/jffs2/os-linux.h           |    6
 fs/jffs2/wbuf.c               |   24
 include/linux/mtd/ubi.h       |  191 ++++
 include/mtd/Kbuild            |    2
 include/mtd/mtd-abi.h         |    1
 include/mtd/ubi-header.h      |  360 ++++++++
 include/mtd/ubi-user.h        |  161 +++
 30 files changed, 12039 insertions(+)

--
Best regards,
Artem Bityutskiy (Битюцкий Артём)