diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-01-25 10:48:50 -0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-02-22 16:07:23 -0800 |
commit | ae96e7bdd42739ef677a8a5d2d39d3eac5a4ff59 (patch) | |
tree | ecf78d6cff2d371dd9dc44886a4915375ac3766f /fs/f2fs/data.c | |
parent | 52f803371200bc86d4d028693d06a627fe11f740 (diff) |
f2fs: avoid needless sync_inode_page when reading inline_data
In write_begin, if there is an inline_data, f2fs loads it into 0'th data page.
Since it's the read path, we don't need to sync its inode page.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/data.c')
-rw-r--r-- | fs/f2fs/data.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 24c65e9823b7..f0ffb15af009 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -1464,7 +1464,6 @@ restart: read_inline_data(page, ipage); set_inode_flag(F2FS_I(inode), FI_DATA_EXIST); set_inline_node(ipage); - sync_inode_page(&dn); } else { err = f2fs_convert_inline_page(&dn, page); if (err) |