commit | 479f40c44ae30e02642ce0391be707a53852d545 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Thu Mar 20 21:52:53 2014 +0900 |
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Thu Mar 20 22:10:11 2014 +0900 |
tree | 0ad83458da430f524f70a681c4d88c1b22e54233 | |
parent | d928bfbfe77aa457b765c19e9db8cd4cc72b3c89 [diff] |
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 <jaegeuk.kim@samsung.com>