diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-07-25 07:40:59 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-07-29 07:46:11 -0700 |
commit | fff04f90c1b9f91b9c513a89702a4b9ffe5dc1c5 (patch) | |
tree | 93d2a63cedd9e181849cf75feda52eb5f1f2032f /fs/f2fs/inline.c | |
parent | 39efac41fbe44343cac29472320a1d502fcff66b (diff) | |
download | linux-fff04f90c1b9f91b9c513a89702a4b9ffe5dc1c5.tar.gz linux-fff04f90c1b9f91b9c513a89702a4b9ffe5dc1c5.tar.bz2 linux-fff04f90c1b9f91b9c513a89702a4b9ffe5dc1c5.zip |
f2fs: add info of appended or updated data writes
This patch introduces a inode number list in which represents inodes having
appended data writes or updated data writes after last checkpoint.
This will be used at fsync to determine whether the recovery information
should be written or not.
Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/inline.c')
-rw-r--r-- | fs/f2fs/inline.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/inline.c b/fs/f2fs/inline.c index 1bba5228c197..5beeccef9ae1 100644 --- a/fs/f2fs/inline.c +++ b/fs/f2fs/inline.c @@ -172,6 +172,7 @@ int f2fs_write_inline_data(struct inode *inode, stat_inc_inline_inode(inode); } + set_inode_flag(F2FS_I(inode), FI_APPEND_WRITE); sync_inode_page(&dn); f2fs_put_dnode(&dn); |