summaryrefslogtreecommitdiff
path: root/fs/f2fs/node.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2012-11-02 12:08:18 +0400
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2012-12-11 08:43:40 +0400
commit127e670abfa7fa150f6550d620ded930f5bdb4e7 (patch)
tree49f395d6e8bea5123a734e7d75953f694d90fd05 /fs/f2fs/node.c
parentaff063e266cbf4754021d8e5d16ee418560906fd (diff)
downloadlinux-127e670abfa7fa150f6550d620ded930f5bdb4e7.tar.xz
f2fs: add checkpoint operations
This adds functions required by the checkpoint operations. Basically, f2fs adopts a roll-back model with checkpoint blocks written in the CP area. The checkpoint procedure includes as follows. - write_checkpoint() 1. block_operations() freezes VFS calls. 2. submit cached bios. 3. flush_nat_entries() writes NAT pages updated by dirty NAT entries. 4. flush_sit_entries() writes SIT pages updated by dirty SIT entries. 5. do_checkpoint() writes, - checkpoint block (#0) - orphan inode blocks - summary blocks made by active logs - checkpoint block (copy of #0) 6. unblock_opeations() In order to provide an address space for meta pages, f2fs_sb_info has a special inode, namely meta_inode. This patch also adds the address space operations for meta_inode. Signed-off-by: Chul Lee <chur.lee@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/node.c')
0 files changed, 0 insertions, 0 deletions