diff options
author | Chao Yu <chao2.yu@samsung.com> | 2014-05-06 10:51:24 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2014-05-07 03:21:59 +0200 |
commit | e57484343898094bb8f72a2aa1a50929d27aa027 (patch) | |
tree | 546dabf60fe27846c3a8ea2a834a9bb5bec4b42c /fs/f2fs/node.c | |
parent | f2fs: add a tracepoint for f2fs_write_{meta,node,data}_page (diff) | |
download | linux-e57484343898094bb8f72a2aa1a50929d27aa027.tar.xz linux-e57484343898094bb8f72a2aa1a50929d27aa027.zip |
f2fs: add a tracepoint for f2fs_write_{meta,node,data}_pages
This patch adds a tracepoint for f2fs_write_{meta,node,data}_pages to trace when
pages are fsyncing/flushing.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/node.c')
-rw-r--r-- | fs/f2fs/node.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 49bdddbcadea..3d60d3d34ed2 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -1242,6 +1242,8 @@ static int f2fs_write_node_pages(struct address_space *mapping, struct f2fs_sb_info *sbi = F2FS_SB(mapping->host->i_sb); long diff; + trace_f2fs_writepages(mapping->host, wbc, NODE); + /* balancing f2fs's metadata in background */ f2fs_balance_fs_bg(sbi); |