projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52f8033
)
f2fs: avoid needless sync_inode_page when reading inline_data
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Mon, 25 Jan 2016 18:48:50 +0000
(10:48 -0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Tue, 23 Feb 2016 00:07:23 +0000
(16:07 -0800)
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>
fs/f2fs/data.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/data.c
b/fs/f2fs/data.c
index 24c65e9823b7c70f14b62e52e9e30b032a437426..f0ffb15af00908bf01912cabfbdf3420c55dc3ff 100644
(file)
--- 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)