commit | dfb2bf38bf89e15a65f9996566b2945921388a2f | [log] [tgz] |
---|---|---|
author | Chao Yu <chao2.yu@samsung.com> | Tue May 06 16:47:23 2014 +0800 |
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Wed May 07 10:21:59 2014 +0900 |
tree | efe5c9496469fd694a19c57422a4a42bac8ba1e0 | |
parent | 62aed044ea4bef36ac3f6885611b013b11c9be2d [diff] [blame] |
f2fs: add a tracepoint for f2fs_write_end This patch adds a tracepoint for f2fs_write_end to trace write op of user. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index cde0d69..ea58fb6 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c
@@ -989,6 +989,8 @@ { struct inode *inode = page->mapping->host; + trace_f2fs_write_end(inode, pos, len, copied); + SetPageUptodate(page); set_page_dirty(page);