OSDN Git Service

f2fs: pass checkpoint reason on roll-forward recovery
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 10 Apr 2015 00:03:53 +0000 (17:03 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 16 Apr 2015 16:45:40 +0000 (09:45 -0700)
commit10027551ccf5459cc771c31ac8bc8e5cc8db45f8
treeeae6cfe1d0daae9d6ed5e30d63e2f966af847d46
parentfeb7cbb079e63ebb7c0bd7022d2ba9c1dd15c69b
f2fs: pass checkpoint reason on roll-forward recovery

This patch adds CP_RECOVERY to remain recovery information for checkpoint.
And, it makes sure writing checkpoint in this case.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/f2fs.h
fs/f2fs/recovery.c
include/trace/events/f2fs.h