commit | 6c3acd97572b2414075503aa79f305c1d6268114 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Apr 12 10:01:33 2017 -0700 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Apr 12 12:57:08 2017 -0700 |
tree | 941084fc54662245cb9734ffce8b9833ac5cdb66 | |
parent | 309738835451739dc019dc3d5bb4c93d487ff36b [diff] [blame] |
f2fs: allocate hot_data for atomic writes We'd better allocate atomic writes to hot_data zone. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index 4731eb5..0ac833d 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c
@@ -1531,6 +1531,7 @@ goto out; set_inode_flag(inode, FI_ATOMIC_FILE); + set_inode_flag(inode, FI_HOT_DATA); f2fs_update_time(F2FS_I_SB(inode), REQ_TIME); if (!get_dirty_pages(inode))