diff options
author | Chao Yu <chao2.yu@samsung.com> | 2013-11-24 04:36:42 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-12-23 02:18:02 +0100 |
commit | d4d288bc72c020d335868ce217695c4d5dfd74d0 (patch) | |
tree | 9c759f1832eee839d548f5bf0dacf515220f6b58 /fs/f2fs/data.c | |
parent | f2fs: adds a tracepoint for submit_read_page (diff) | |
download | linux-d4d288bc72c020d335868ce217695c4d5dfd74d0.tar.xz linux-d4d288bc72c020d335868ce217695c4d5dfd74d0.zip |
f2fs: adds a tracepoint for f2fs_submit_read_bio
This patch adds a tracepoint for f2fs_submit_read_bio.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
[Jaegeuk Kim: integrate tracepoints of f2fs_submit_read(_write)_bio]
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 cdb342eeb421..711722018b8e 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -421,6 +421,8 @@ void f2fs_submit_read_bio(struct f2fs_sb_info *sbi, int rw) if (!io->bio) return; + trace_f2fs_submit_read_bio(sbi->sb, rw, META, io->bio); + mutex_lock(&io->io_mutex); if (io->bio) { submit_bio(rw, io->bio); |