From: Jaegeuk Kim Date: Thu, 20 Mar 2014 12:52:53 +0000 (+0900) Subject: f2fs: skip unnecessary node writes during fsync X-Git-Tag: v3.15-rc1~62^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=479f40c44ae30e02642ce0391be707a53852d545;p=pandora-kernel.git f2fs: skip unnecessary node writes during fsync If multiple redundant fsync calls are triggered, we don't need to write its node pages with fsync mark continuously. So, this patch adds FI_NEED_FSYNC to track whether the latest node block is written with the fsync mark or not. If the mark was set, a new fsync doesn't need to write a node block. Otherwise, we should do a new node block with the mark for roll-forward recovery. Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed