提交 6c3acd97 编写于 作者: J Jaegeuk Kim

f2fs: allocate hot_data for atomic writes

We'd better allocate atomic writes to hot_data zone.
Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册