f2fs: remove rewrite_node_page
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 15 Aug 2014 16:56:46 +0000 (09:56 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 21 Aug 2014 20:57:02 +0000 (13:57 -0700)
I think we need to let the dirty node pages remain in the page cache instead
of rewriting them in their places.
So, after done with successful recovery, write_checkpoint will flush all of them
through the normal write path.
Through this, we can avoid potential error cases in terms of block allocation.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/node.c
fs/f2fs/recovery.c
fs/f2fs/segment.c

diff --cc fs/f2fs/f2fs.h
Simple merge
diff --cc fs/f2fs/node.c
Simple merge
Simple merge
Simple merge