Skip to content

Commit

Permalink
dm: add missing trace_block_split() to __split_and_process_bio()
Browse files Browse the repository at this point in the history
Provides useful context about bio splits in blktrace.

Signed-off-by: Mike Snitzer <[email protected]>
  • Loading branch information
snitm committed Jan 22, 2019
1 parent 6548c7c commit 075c18c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/md/dm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 075c18c

Please sign in to comment.