diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-10-24 04:53:29 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-10-25 03:54:40 -0400 |
commit | 26c6b8879911df991dc780c67eaeb84c7629949d (patch) | |
tree | d2002aa72cec8dac565817de234f887124d8da1c /fs/f2fs/data.c | |
parent | e8d61a7488d06aba3e7226e3536a6a6e14391ce8 (diff) |
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/data.c')
-rw-r--r-- | fs/f2fs/data.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 1cccf98f0e4d..c8887d847dcf 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c | |||
@@ -756,6 +756,8 @@ static int f2fs_set_data_page_dirty(struct page *page) | |||
756 | struct address_space *mapping = page->mapping; | 756 | struct address_space *mapping = page->mapping; |
757 | struct inode *inode = mapping->host; | 757 | struct inode *inode = mapping->host; |
758 | 758 | ||
759 | trace_f2fs_set_page_dirty(page, DATA); | ||
760 | |||
759 | SetPageUptodate(page); | 761 | SetPageUptodate(page); |
760 | if (!PageDirty(page)) { | 762 | if (!PageDirty(page)) { |
761 | __set_page_dirty_nobuffers(page); | 763 | __set_page_dirty_nobuffers(page); |