f2fs: call SetPageUptodate if needed
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 1 Jul 2016 01:49:15 +0000 (18:49 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 8 Jul 2016 17:33:29 +0000 (10:33 -0700)
commit237c0790e54020d522b8fd23097e8dcafb4e331d
tree57af2ddd9bff9382d6330ca894497d3fb37bfb2e
parentfe76b796fc5194cc3d57265002e3a748566d073f
f2fs: call SetPageUptodate if needed

SetPageUptodate() issues memory barrier, resulting in performance degrdation.
Let's avoid that.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/data.c
fs/f2fs/file.c
fs/f2fs/inline.c
fs/f2fs/node.c