Commit 6c3acd97 authored by Jaegeuk Kim's avatar Jaegeuk Kim

f2fs: allocate hot_data for atomic writes

We'd better allocate atomic writes to hot_data zone.
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 30973883
......@@ -1531,6 +1531,7 @@ static int f2fs_ioc_start_atomic_write(struct file *filp)
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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment