]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit20d4fc2c6b9a900f656411e998693609aa8eae0e
treeb449ff58a4ba996bb6c3505c3fb5cbbe6ddea847
parent1c3fba3ff50471e2b7084d665c15434756ccaff0
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