]> asedeno.scripts.mit.edu Git - linux.git/commit
f2fs: trace checkpoint reason in fsync()
authorChao Yu <yuchao0@huawei.com>
Mon, 6 Nov 2017 14:51:45 +0000 (22:51 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 7 Nov 2017 01:01:20 +0000 (17:01 -0800)
commita5fd505092863c520ddf26bd188716b532c1efcf
tree246d2326c249c6eb90b4677aed01dd0be017ea9d
parente8ed90a6d9a478938ef967a474a5c2a398759f4d
f2fs: trace checkpoint reason in fsync()

This patch slightly changes need_do_checkpoint to return the detail
info that indicates why we need do checkpoint, then caller could print
it with trace message.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/file.c
include/trace/events/f2fs.h