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)
commit202095a7a0ec075b924cb15dde330bf76e485f61
treeb449ff58a4ba996bb6c3505c3fb5cbbe6ddea847
parent764aa3e978020121cbb86111b5d8f42830015a06
f2fs: remove rewrite_node_page

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