]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: fix block_ops trace point
authorWanpeng Li <wanpeng.li@linux.intel.com>
Fri, 27 Feb 2015 07:56:16 +0000 (15:56 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 10 Apr 2015 22:08:28 +0000 (15:08 -0700)
commitd55458e32d9979ac54e70c43a64a81ee799848ee
tree2dbae96c6d3b724fe484db3b90e15e2b1b8717fc
parentd77218f07cd4f4f5736640d40380c82347de5b7e
f2fs: fix block_ops trace point

block operations is used to flush all dirty node and dentry blocks in
the page cache and suspend ordinary writing activities, however, there
are some facts such like cp error or mount read-only etc which lead to
block operations can't be invoked. Current trace point print block_ops
start premature even if block_ops doesn't have opportunity to execute.
This patch fix it by move block_ops trace point just before block_ops.

Signed-off-by: Wanpeng Li <wanpeng.li@linux.intel.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c