aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2017-02-02 18:18:06 -0800
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:34:50 +0200
commit6b70a1234d7b3e0db8ab557c0b193786357c2ab9 (patch)
tree4f13f9a48e8bc0737a619d84a7b6721f1d3a8572 /include/linux
parent3ad19e69e992427b5aae92a85e59edb286d221cd (diff)
f2fs: avoid out-of-order execution of atomic writes
We need to flush data writes before flushing last node block writes by using FUA with PREFLUSH. We don't need to guarantee precedent node writes since if those are not written, we can't reach to the last node block when scanning node block chain during roll-forward recovery. Afterwards f2fs_wait_on_page_writeback guarantees all the IO submission to disk, which builds a valid node block chain. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Conflicts: include/trace/events/f2fs.h
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions