f2fs: avoid race for summary information
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Sun, 31 Mar 2013 23:32:21 +0000 (08:32 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 3 Apr 2013 08:27:51 +0000 (17:27 +0900)
commitb74737541c5190ab2ad3ee0d7b323e860b988df1
tree5f836c7bf8ac075169b89238a5f6a865c9d4c3a8
parent60374688a1a1cc8ef173d3dab42574719b851ac4
f2fs: avoid race for summary information

In order to do GC more reliably, I'd like to lock the vicitm summary page
until its GC is completed, and also prevent any checkpoint process.

Reviewed-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/gc.c
fs/f2fs/node.c
fs/f2fs/super.c