summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/node.c
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2014-05-06 10:48:26 +0200
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2014-05-07 03:21:59 +0200
commitecda0de3430455378f1c02523bf3ad71d91d613a (patch)
tree070ac2a1739edd7daa504bf286ffb353b3349b71 /fs/f2fs/node.c
parentf2fs: add a tracepoint for f2fs_write_end (diff)
downloadlinux-ecda0de3430455378f1c02523bf3ad71d91d613a.tar.xz
linux-ecda0de3430455378f1c02523bf3ad71d91d613a.zip
f2fs: add a tracepoint for f2fs_write_{meta,node,data}_page
This patch adds a tracepoint for f2fs_write_{meta,node,data}_page to trace when page is writting out. 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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c
index 059aaf5dda2b..49bdddbcadea 100644
--- a/fs/f2fs/node.c
+++ b/fs/f2fs/node.c
@@ -1199,6 +1199,8 @@ static int f2fs_write_node_page(struct page *page,
.rw = (wbc->sync_mode == WB_SYNC_ALL) ? WRITE_SYNC : WRITE,
};
+ trace_f2fs_writepage(page, NODE);
+
if (unlikely(sbi->por_doing))
goto redirty_out;