diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-12-17 19:58:58 -0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-01-09 17:02:24 -0800 |
commit | 9e4ded3f309eb5b5a9be0ca2acd26e5ea7f00914 (patch) | |
tree | 8c440b707b44b83f8edfb3ac0cb752854ca768fd /fs/f2fs/checkpoint.c | |
parent | 0e689d036952a6018ed5f5c1aee7697f5c57cea1 (diff) | |
download | op-kernel-dev-9e4ded3f309eb5b5a9be0ca2acd26e5ea7f00914.zip op-kernel-dev-9e4ded3f309eb5b5a9be0ca2acd26e5ea7f00914.tar.gz |
f2fs: activate f2fs_trace_pid
This patch activates f2fs_trace_pid.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/checkpoint.c')
-rw-r--r-- | fs/f2fs/checkpoint.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index 0ac7c39..3999933 100644 --- a/fs/f2fs/checkpoint.c +++ b/fs/f2fs/checkpoint.c @@ -20,6 +20,7 @@ #include "f2fs.h" #include "node.h" #include "segment.h" +#include "trace.h" #include <trace/events/f2fs.h> static struct kmem_cache *ino_entry_slab; @@ -301,6 +302,7 @@ static int f2fs_set_meta_page_dirty(struct page *page) if (!PageDirty(page)) { __set_page_dirty_nobuffers(page); inc_page_count(F2FS_P_SB(page), F2FS_DIRTY_META); + f2fs_trace_pid(page); return 1; } return 0; @@ -712,6 +714,7 @@ void update_dirty_page(struct inode *inode, struct page *page) kmem_cache_free(inode_entry_slab, new); out: SetPagePrivate(page); + f2fs_trace_pid(page); } void add_dirty_dir_inode(struct inode *inode) |