]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: remove syncing inode page in all the cases
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 20 May 2016 23:32:49 +0000 (16:32 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 3 Jun 2016 01:05:12 +0000 (18:05 -0700)
commit73c3ce3c8ab392c42d58fa228a3ab46f9d4a9939
tree514092851eb0e974c6ac8add90fed10056b84998
parent0231c84fb9dcb87af4a51542ca6afb6330d3a0ef
f2fs: remove syncing inode page in all the cases

This patch reduces to call them across the whole tree.
- sync_inode_page()
- update_inode_page()
- update_inode()
- f2fs_write_inode()

Instead, checkpoint will flush all the dirty inode metadata before syncing
node pages.
Note that, this is doable, since we call mark_inode_dirty_sync() for all
inode's field change which needs to update on-disk inode as well.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/dir.c
fs/f2fs/extent_cache.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/inline.c
fs/f2fs/namei.c
fs/f2fs/node.c
fs/f2fs/recovery.c
fs/f2fs/xattr.c