summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/checkpoint.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2013-10-24 17:53:29 +0900
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-10-25 16:54:40 +0900
commit26c6b8879911df991dc780c67eaeb84c7629949d (patch)
treed2002aa72cec8dac565817de234f887124d8da1c /fs/f2fs/checkpoint.c
parente8d61a7488d06aba3e7226e3536a6a6e14391ce8 (diff)
downloadop-kernel-dev-26c6b8879911df991dc780c67eaeb84c7629949d.zip
op-kernel-dev-26c6b8879911df991dc780c67eaeb84c7629949d.tar.gz
f2fs: add tracepoint for set_page_dirty
This patch adds a tracepoint for set_page_dirty. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/checkpoint.c')
-rw-r--r--fs/f2fs/checkpoint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
index 5649a9d..6526f501 100644
--- a/fs/f2fs/checkpoint.c
+++ b/fs/f2fs/checkpoint.c
@@ -167,6 +167,8 @@ static int f2fs_set_meta_page_dirty(struct page *page)
struct address_space *mapping = page->mapping;
struct f2fs_sb_info *sbi = F2FS_SB(mapping->host->i_sb);
+ trace_f2fs_set_page_dirty(page, META);
+
SetPageUptodate(page);
if (!PageDirty(page)) {
__set_page_dirty_nobuffers(page);
OpenPOWER on IntegriCloud