mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
f2fs: allocate hot_data for atomic writes
We'd better allocate atomic writes to hot_data zone. Signed-off-by: Jaegeuk Kim <[email protected]>
This commit is contained in:
parent
3097388354
commit
6c3acd9757
1 changed files with 1 additions and 0 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue