f2fs: add detailed information of bio types in the tracepoints

This patch inserts information of bio types in more detail.
So, we can now see REQ_META and REQ_PRIO too.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
This commit is contained in:
Jaegeuk Kim
2013-11-24 14:42:23 +09:00
parent b600965c43
commit a709f4a2f2
2 changed files with 19 additions and 7 deletions

View File

@@ -846,11 +846,11 @@ static void do_submit_bio(struct f2fs_sb_info *sbi,
if (type >= META_FLUSH)
rw = WRITE_FLUSH_FUA;
trace_f2fs_submit_write_bio(sbi->sb, rw, btype, io->bio);
if (btype == META)
rw |= REQ_META;
trace_f2fs_submit_write_bio(sbi->sb, rw, btype, io->bio);
p = io->bio->bi_private;
p->sbi = sbi;
io->bio->bi_end_io = f2fs_end_io_write;