From: Mike Snitzer Date: Fri, 18 Jan 2019 06:21:11 +0000 (-0500) Subject: dm: add missing trace_block_split() to __split_and_process_bio() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=075c18c3e124a1511ebc10a89f1858c8a77dcb01;p=openwrt%2Fstaging%2Fblogic.git dm: add missing trace_block_split() to __split_and_process_bio() Provides useful context about bio splits in blktrace. Signed-off-by: Mike Snitzer --- 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; }