diff options
author | Chao Yu <chao2.yu@samsung.com> | 2014-05-06 16:48:26 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2014-05-07 10:21:59 +0900 |
commit | ecda0de3430455378f1c02523bf3ad71d91d613a (patch) | |
tree | 070ac2a1739edd7daa504bf286ffb353b3349b71 /fs/f2fs/checkpoint.c | |
parent | dfb2bf38bf89e15a65f9996566b2945921388a2f (diff) | |
download | blackbird-op-linux-ecda0de3430455378f1c02523bf3ad71d91d613a.tar.gz blackbird-op-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/checkpoint.c')
-rw-r--r-- | fs/f2fs/checkpoint.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index 4206f1664be5..c95d62281d7e 100644 --- a/fs/f2fs/checkpoint.c +++ b/fs/f2fs/checkpoint.c @@ -157,6 +157,8 @@ static int f2fs_write_meta_page(struct page *page, struct inode *inode = page->mapping->host; struct f2fs_sb_info *sbi = F2FS_SB(inode->i_sb); + trace_f2fs_writepage(page, META); + if (unlikely(sbi->por_doing)) goto redirty_out; if (wbc->for_reclaim) |