[GIT PULL] UBIFS file system

From: Artem Bityutskiy
Date: Tue Jul 15 2008 - 09:04:12 EST


Linus,

please pull UBIFS from 'for_linus' branch of

git://git.infradead.org/~dedekind/ubifs-2.6.git for_linus

UBIFS has been in -mm tree for about 3 months and in -next tree for about 2
month. There were 3 LKML submission rounds:

http://marc.info/?l=linux-kernel&m=121180458401234&w=2

Please, refer the following URLs for UBIFS introduction (sorted in
brief->longer order):

1. First UBIFS submission:
http://marc.info/?l=linux-kernel&m=120662475821992&w=2
2. Jonathan Corbet's article:
http://lwn.net/Articles/276025/
3. Documentation and FAQ at the MTD web site:
http://www.linux-mtd.infradead.org/doc/ubi.html
http://www.linux-mtd.infradead.org/faq/ubi.html
4. UBIFS white-paper:
http://www.linux-mtd.infradead.org/doc/ubifs_whitepaper.pdf

For the last 2 months we've been stabilizing UBIFS and its on-flash format
and we think it is production-ready and may be merged. We are going to
keep developing and maintain it.

We use UBIFS in Nokia and we also have several community users, e.g.:
http://lists.infradead.org/pipermail/linux-mtd/2008-May/021801.html

We have positive feed-backs, e.g.:
http://marc.info/?l=linux-kernel&m=120850960619411&w=2

There git-web for the branch we ask to pull is here:
http://git.infradead.org/users/dedekind/ubifs-2.6.git?a=shortlog;h=refs/heads/for_linus

$ git-shortlog v2.6.26..HEAD

Adrian Hunter (1):
do_mounts: allow UBI root device name

Artem Bityutskiy (5):
VFS: export sync_sb_inodes
MAINTAINERS: add UBIFS section
UBIFS: add brief documentation
UBIFS: add new flash file system
UBIFS: include to compilation

Hans Reiser (1):
VFS: move inode_lock into sync_sb_inodes

$ git-log --stat -M v2.6.26..HEAD

commit 0d7eff873caaeac84de01a1acdca983d2c7ba3fe
Author: Artem Bityutskiy <Artem.Bityutskiy@xxxxxxxxx>
Date: Mon Jul 14 19:08:38 2008 +0300

UBIFS: include to compilation

Add UBIFS to Makefile and Kbuild.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@xxxxxxxxx>
Signed-off-by: Adrian Hunter <ext-adrian.hunter@xxxxxxxxx>

fs/Kconfig | 3 ++
fs/Makefile | 1 +
fs/ubifs/Kconfig | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++
fs/ubifs/Makefile | 9 ++++++
4 files changed, 85 insertions(+), 0 deletions(-)

commit 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d
Author: Artem Bityutskiy <Artem.Bityutskiy@xxxxxxxxx>
Date: Mon Jul 14 19:08:37 2008 +0300

UBIFS: add new flash file system

This is a new flash file system. See
http://www.linux-mtd.infradead.org/doc/ubifs.html

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@xxxxxxxxx>
Signed-off-by: Adrian Hunter <ext-adrian.hunter@xxxxxxxxx>

fs/ubifs/budget.c | 731 ++++++++++++
fs/ubifs/commit.c | 677 +++++++++++
fs/ubifs/compress.c | 253 +++++
fs/ubifs/debug.c | 2289 +++++++++++++++++++++++++++++++++++++
fs/ubifs/debug.h | 403 +++++++
fs/ubifs/dir.c | 1240 ++++++++++++++++++++
fs/ubifs/file.c | 1275 +++++++++++++++++++++
fs/ubifs/find.c | 975 ++++++++++++++++
fs/ubifs/gc.c | 773 +++++++++++++
fs/ubifs/io.c | 914 +++++++++++++++
fs/ubifs/ioctl.c | 204 ++++
fs/ubifs/journal.c | 1387 +++++++++++++++++++++++
fs/ubifs/key.h | 533 +++++++++
fs/ubifs/log.c | 805 +++++++++++++
fs/ubifs/lprops.c | 1357 ++++++++++++++++++++++
fs/ubifs/lpt.c | 2243 ++++++++++++++++++++++++++++++++++++
fs/ubifs/lpt_commit.c | 1648 +++++++++++++++++++++++++++
fs/ubifs/master.c | 387 +++++++
fs/ubifs/misc.h | 342 ++++++
fs/ubifs/orphan.c | 958 ++++++++++++++++
fs/ubifs/recovery.c | 1519 +++++++++++++++++++++++++
fs/ubifs/replay.c | 1075 ++++++++++++++++++
fs/ubifs/sb.c | 629 ++++++++++
fs/ubifs/scan.c | 362 ++++++
fs/ubifs/shrinker.c | 322 ++++++
fs/ubifs/super.c | 1951 ++++++++++++++++++++++++++++++++
fs/ubifs/tnc.c | 2956 ++++++++++++++++++++++++++++++++++++++++++++++++
fs/ubifs/tnc_commit.c | 1103 ++++++++++++++++++
fs/ubifs/tnc_misc.c | 494 ++++++++
fs/ubifs/ubifs-media.h | 745 ++++++++++++
fs/ubifs/ubifs.h | 1649 +++++++++++++++++++++++++++
fs/ubifs/xattr.c | 581 ++++++++++
32 files changed, 32780 insertions(+), 0 deletions(-)

commit e56a99d5a42dcb91e622ae7a0289d8fb2ddabffb
Author: Artem Bityutskiy <Artem.Bityutskiy@xxxxxxxxx>
Date: Mon Jul 14 19:08:34 2008 +0300

UBIFS: add brief documentation

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@xxxxxxxxx>
Signed-off-by: Adrian Hunter <ext-adrian.hunter@xxxxxxxxx>

Documentation/filesystems/ubifs.txt | 164 +++++++++++++++++++++++++++++++++++
1 files changed, 164 insertions(+), 0 deletions(-)

commit 9527056630b68c94b94b94cd58c6cbb65e611fd1
Author: Artem Bityutskiy <Artem.Bityutskiy@xxxxxxxxx>
Date: Mon Jul 14 17:58:44 2008 +0300

MAINTAINERS: add UBIFS section

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@xxxxxxxxx>

MAINTAINERS | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)

commit 2d62f488585405bc9108c47cb06957397cfd1059
Author: Adrian Hunter <ext-adrian.hunter@xxxxxxxxx>
Date: Thu Jan 31 17:25:00 2008 +0200

do_mounts: allow UBI root device name

Similarly to MTD devices, allow UBI devices.

Signed-off-by: Adrian Hunter <ext-adrian.hunter@xxxxxxxxx>

init/do_mounts.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

commit 4ee6afd34409d296782a5b667d7991b1050e910a
Author: Artem Bityutskiy <Artem.Bityutskiy@xxxxxxxxx>
Date: Wed May 7 21:01:30 2008 +0300

VFS: export sync_sb_inodes

This patch exports the 'sync_sb_inodes()' which is needed for
UBIFS because it has to force write-back from time to time.
Namely, the UBIFS budgeting subsystem forces write-back when
its pessimistic callculations show that there is no free
space on the media.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@xxxxxxxxx>

fs/fs-writeback.c | 11 +++++++++--
include/linux/fs.h | 2 ++
2 files changed, 11 insertions(+), 2 deletions(-)

commit ae8547b0a9e5d718ce272ddc48f91703a0f52a0b
Author: Hans Reiser <reiser@xxxxxxxxxxx>
Date: Wed May 7 15:48:57 2008 +0300

VFS: move inode_lock into sync_sb_inodes

This patch makes 'sync_sb_inodes()' lock 'inode_lock', rather
than expect that the caller will do this.

This change was previously done by Hans Reiser <reiser@xxxxxxxxxxx>
and sat in the -mm tree.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@xxxxxxxxx>

fs/fs-writeback.c | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)

======================================================================

The non-UBIFS patches are short and rather trivial, so we inline them. The UBIFS
patches are big, so we only provide stats.