Commit 075c18c3 authored by Mike Snitzer's avatar Mike Snitzer

dm: add missing trace_block_split() to __split_and_process_bio()

Provides useful context about bio splits in blktrace.
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 6548c7c5
...@@ -1655,6 +1655,7 @@ static blk_qc_t __split_and_process_bio(struct mapped_device *md, ...@@ -1655,6 +1655,7 @@ static blk_qc_t __split_and_process_bio(struct mapped_device *md,
part_stat_unlock(); part_stat_unlock();
bio_chain(b, bio); bio_chain(b, bio);
trace_block_split(md->queue, b, bio->bi_iter.bi_sector);
ret = generic_make_request(bio); ret = generic_make_request(bio);
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment