nilfs2: fiemap support
This adds fiemap to nilfs. Two new functions, nilfs_fiemap and
nilfs_find_uncommitted_extent are added.
nilfs_fiemap() implements the fiemap inode operation, and
nilfs_find_uncommitted_extent() helps to get a range of data blocks
whose physical location has not been determined.
nilfs_fiemap() collects extent information by looping through
nilfs_bmap_lookup_contig and nilfs_find_uncommitted_extent routines.
Signed-off-by:
Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Showing
- fs/nilfs2/file.c 1 addition, 0 deletionsfs/nilfs2/file.c
- fs/nilfs2/inode.c 131 additions, 0 deletionsfs/nilfs2/inode.c
- fs/nilfs2/namei.c 1 addition, 0 deletionsfs/nilfs2/namei.c
- fs/nilfs2/nilfs.h 2 additions, 0 deletionsfs/nilfs2/nilfs.h
- fs/nilfs2/page.c 84 additions, 0 deletionsfs/nilfs2/page.c
- fs/nilfs2/page.h 3 additions, 0 deletionsfs/nilfs2/page.h
Loading
Please register or sign in to comment