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 Latest22 patches 65 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22UBI: on-flash data structures headerinclude/mtd/ubi-header.h+371 -00 replies
2/22UBI: user-space API headerinclude/mtd/ubi-user.h+163 -00 replies
3/22UBI: kernel-space API headerinclude/linux/mtd/ubi.h+196 -00 replies
4/22UBI: internal headerdrivers/mtd/ubi/ubi.h+867 -00 replies
5/22UBI: startup codedrivers/mtd/ubi/build.c+467 -00 replies
6/22UBI: scanning unitdrivers/mtd/ubi/scan.c+1478 -00 replies
7/22UBI: I/O unitdrivers/mtd/ubi/io.c+1445 -00 replies
8/22UBI: volume table unitdrivers/mtd/ubi/vtbl.c+1387 -00 replies
9/22UBI: wear-leveling unitdrivers/mtd/ubi/wl.c+1761 -00 replies
10/22UBI: EBA unitdrivers/mtd/ubi/eba.c+1735 -08 replies
11/22UBI: user-interfaces unitdrivers/mtd/ubi/uif.c+842 -00 replies
12/22UBI: update functionalitydrivers/mtd/ubi/upd.c+359 -00 replies
13/22UBI: accounting unitdrivers/mtd/ubi/account.c+233 -00 replies
14/22UBI: volume management functionalitydrivers/mtd/ubi/vmt.c+360 -00 replies
15/22UBI: sysfs functionalitydrivers/mtd/ubi/sysfs.c+408 -00 replies
16/22UBI: character devices functionalitydrivers/mtd/ubi/cdev.c+926 -00 replies
17/22UBI: gluebi functionalitydrivers/mtd/ubi/gluebi.c+361 -00 replies
18/22UBI: misc stuffdrivers/mtd/ubi/misc.c+167 -00 replies
19/22UBI: debugging stuffdrivers/mtd/ubi/debug.c drivers/mtd/ubi/debug.h+692 -00 replies
20/22UBI: JFFS2 UBI supportfs/jffs2/fs.c fs/jffs2/os-linux.h fs/jffs2/wbuf.c +1 more+43 -00 replies
21/22UBI: update MAINTAINERSMAINTAINERS+8 -00 replies
22/22UBI: Linux build integrationdrivers/mtd/Kconfig drivers/mtd/Makefile drivers/mtd/ubi/Kconfig +3 more+226 -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/22 take 3] 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 is kind of LVM layer but for flash (MTD) devices. It makes it possible to dynamically create, delete and re-size volumes. But the analogy is not full. UBI also takes care of wear-leveling and bad eraseblocks handling, so UBI completely hides 2 aspects of flash chips which make them very difficult to work with:

1. wear of eraseblocks;
2. bad eraseblocks.

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 third iteration of the post which has fixed most of the stuff pointed to previously.

 MAINTAINERS                   |    8
 drivers/mtd/Kconfig           |    2
 drivers/mtd/Makefile          |    2
 drivers/mtd/ubi/Kconfig       |   60 +
 drivers/mtd/ubi/Kconfig.debug |  153 +++
 drivers/mtd/ubi/Makefile      |    7
 drivers/mtd/ubi/account.c     |  233 +++++
 drivers/mtd/ubi/build.c       |  467 +++++++++++
 drivers/mtd/ubi/cdev.c        |  926 ++++++++++++++++++++++
 drivers/mtd/ubi/debug.c       |  546 +++++++++++++
 drivers/mtd/ubi/debug.h       |  146 +++
 drivers/mtd/ubi/eba.c         | 1735 +++++++++++++++++++++++++++++++++++++++++
 drivers/mtd/ubi/gluebi.c      |  361 ++++++++
 drivers/mtd/ubi/io.c          | 1445 ++++++++++++++++++++++++++++++++++
 drivers/mtd/ubi/misc.c        |  167 +++
 drivers/mtd/ubi/scan.c        | 1478 +++++++++++++++++++++++++++++++++++
 drivers/mtd/ubi/sysfs.c       |  408 +++++++++
 drivers/mtd/ubi/ubi.h         |  867 ++++++++++++++++++++
 drivers/mtd/ubi/uif.c         |  842 ++++++++++++++++++++
 drivers/mtd/ubi/upd.c         |  359 ++++++++
 drivers/mtd/ubi/vmt.c         |  360 ++++++++
 drivers/mtd/ubi/vtbl.c        | 1387 +++++++++++++++++++++++++++++++++
 drivers/mtd/ubi/wl.c          | 1761 ++++++++++++++++++++++++++++++++++++++++++
 fs/jffs2/fs.c                 |   12
 fs/jffs2/os-linux.h           |    6
 fs/jffs2/wbuf.c               |   24
 include/linux/mtd/ubi.h       |  196 ++++
 include/mtd/Kbuild            |    2
 include/mtd/mtd-abi.h         |    1
 include/mtd/ubi-header.h      |  371 ++++++++
 include/mtd/ubi-user.h        |  163 +++
 31 files changed, 14495 insertions(+)

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