23 Jul, 2010
3 commits
-
This removes nilfs_bmap_union and finally unifies three structures and
the union in bmap/btree code into one.Signed-off-by: Ryusuke Konishi
-
This replaces all uses of nilfs_btree struct in implementation of
btree mapping with nilfs_bmap struct.Name of local variable "btree" is kept not to bloat amount of change.
And, a part of local variables "bmap" is renamed to "btree" to uniform
naming rule.Signed-off-by: Ryusuke Konishi
-
This inserts sanity checks soon after read btree node from disk. This
allows early detection of broken btree nodes, and helps to narrow down
problems due to file system corruption.Signed-off-by: Ryusuke Konishi
31 May, 2010
1 commit
-
The commit 41c88bd7 ("nilfs2: cleanup multi
kmem_cache_{create,destroy} code") consolidated slab constructors and
destructors used in nilfs, but it left some declarations in header
files.This gets rid of the obsolete declarations.
Signed-off-by: Ryusuke Konishi
10 May, 2010
1 commit
-
This cleanup patch gives several improvements:
- Moving all kmem_cache_{create_destroy} calls into one place, which removes
some small function calls, cleans up error check code and clarify the logic.- Mark all initial code in __init section.
- Remove some very obvious comments.
- Adjust some declarations.
- Fix some space-tab issues.
Signed-off-by: Li Hong
Signed-off-by: Ryusuke Konishi
20 Nov, 2009
1 commit
-
This is a trivial patch to expose struct nilfs_fs_btree_node.
The struct should be exposed outside of kernel, for it is disk format.Signed-off-by: Jiro SEKIBA
Signed-off-by: Ryusuke Konishi
10 Jun, 2009
2 commits
-
will remove indirect function calls using nilfs_btree_operations
table.Signed-off-by: Ryusuke Konishi
-
This will cut off 16 bytes from the nilfs_bmap struct which is
embedded in the on-memory inode of nilfs.The b_high field was never used, and the b_low field stores a constant
value which can be determined by whether the inode uses btree for
block mapping or not.Signed-off-by: Ryusuke Konishi
07 Apr, 2009
1 commit
-
This adds declarations and functions of NILFS2 B-tree.
Two variants are integrated in the NILFS2 B-tree. The B-tree for the most
files points to the child nodes or data blocks with virtual block
addresses, whereas the B-tree of the DAT uses actual block addresses.Signed-off-by: Koji Sato
Signed-off-by: Ryusuke Konishi
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds