13 Aug, 2008
8 commits
-
Signed-off-by: Artem Bityutskiy
-
UBIFS does not presently re-use inode numbers, so leaving
i_generation zero is most appropriate for now.Signed-off-by: Adrian Hunter
Signed-off-by: Artem Bityutskiy -
Every time anything is deleted, UBIFS writes the deletion inode
node twice - once in 'ubifs_jnl_update()' and the second time in
'ubifs_jnl_write_inode()'. However, the second write is not needed
if no commit happened after 'ubifs_jnl_update()'. This patch
checks that condition and avoids writing the deletion inode for
the second time.Signed-off-by: Artem Bityutskiy
-
Simplify 'ubifs_jnl_write_inode()' by removing the 'deletion'
parameter which is not really needed because we may test
inode->i_nlink and check whether this is a deletion or not.Signed-off-by: Artem Bityutskiy
-
Orphan inodes are deleted inodes which will disappear after FS
re-mount. There is not need to write orphan inodes back, because
they are not needed on the flash media.So optimize orphans a little by not writing them back. Just mark
them as clean, free the budget, and report success to VFS.Signed-off-by: Artem Bityutskiy
-
Although the inode is marked as clean when it is being deleted,
it might stay and be used as orphan, and be marked as dirty.
So we have to free the budget when we delete it.Signed-off-by: Artem Bityutskiy
-
1. Print inode mode in some of debugging messages
2. Add few more useful assertionsSigned-off-by: Artem Bityutskiy
-
We encouredge people to mount using volume name, not device
numbers. So print the name of the mounted UBI volume, not just
IDs.Signed-off-by: Artem Bityutskiy
27 Jul, 2008
1 commit
-
Kmem cache passed to constructor is only needed for constructors that are
themselves multiplexeres. Nobody uses this "feature", nor does anybody uses
passed kmem cache in non-trivial way, so pass only pointer to object.Non-trivial places are:
arch/powerpc/mm/init_64.c
arch/powerpc/mm/hugetlbpage.cThis is flag day, yes.
Signed-off-by: Alexey Dobriyan
Acked-by: Pekka Enberg
Acked-by: Christoph Lameter
Cc: Jon Tollefson
Cc: Nick Piggin
Cc: Matt Mackall
[akpm@linux-foundation.org: fix arch/powerpc/mm/hugetlbpage.c]
[akpm@linux-foundation.org: fix mm/slab.c]
[akpm@linux-foundation.org: fix ubifs]
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
15 Jul, 2008
1 commit
-
This is a new flash file system. See
http://www.linux-mtd.infradead.org/doc/ubifs.htmlSigned-off-by: Artem Bityutskiy
Signed-off-by: Adrian Hunter