mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
f2fs: don't need to sync node page at every time
In write_end, we don't need to sync inode page at every time. Instead, we can expect f2fs_write_inode will update later. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
2049d4fcb0
commit
52f8033712
@ -1627,7 +1627,6 @@ static int f2fs_write_end(struct file *file,
|
||||
if (pos + copied > i_size_read(inode)) {
|
||||
i_size_write(inode, pos + copied);
|
||||
mark_inode_dirty(inode);
|
||||
update_inode_page(inode);
|
||||
}
|
||||
|
||||
f2fs_put_page(page, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user