Skip to content

Commit

Permalink
nilfs2: integrated block mapping
Browse files Browse the repository at this point in the history
This adds structures and operations for the block mapping (bmap for
short).  NILFS2 uses direct mappings for short files or B-tree based
mappings for longer files.

Every on-disk data block is held with inodes and managed through this
block mapping.  The nilfs_bmap structure and a set of functions here
provide this capability to the NILFS2 inode.

[penberg@cs.helsinki.fi: remove a bunch of bmap wrapper macros]
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Koji Sato <sato.koji@lab.ntt.co.jp>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Koji Sato authored and Linus Torvalds committed Apr 7, 2009
1 parent 65b4643 commit bdb265e
Show file tree
Hide file tree
Showing 3 changed files with 1,069 additions and 0 deletions.
Loading

0 comments on commit bdb265e

Please sign in to comment.