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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user