diff options
author | Mike Snitzer <snitzer@redhat.com> | 2019-01-18 01:21:11 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2019-01-22 13:41:48 -0500 |
commit | 075c18c3e124a1511ebc10a89f1858c8a77dcb01 (patch) | |
tree | 8624b7e49bf9e582d917b853589202356ae9464b /drivers/md | |
parent | 6548c7c538e5658cbce686c2dd1a9b4f5398bf34 (diff) | |
download | talos-obmc-linux-075c18c3e124a1511ebc10a89f1858c8a77dcb01.tar.gz talos-obmc-linux-075c18c3e124a1511ebc10a89f1858c8a77dcb01.zip |
dm: add missing trace_block_split() to __split_and_process_bio()
Provides useful context about bio splits in blktrace.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/dm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index a010002d892b..2b53c3841b53 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1655,6 +1655,7 @@ static blk_qc_t __split_and_process_bio(struct mapped_device *md, part_stat_unlock(); bio_chain(b, bio); + trace_block_split(md->queue, b, bio->bi_iter.bi_sector); ret = generic_make_request(bio); break; } |