projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6548c7c
)
dm: add missing trace_block_split() to __split_and_process_bio()
author
Mike Snitzer
<snitzer@redhat.com>
Fri, 18 Jan 2019 06:21:11 +0000
(
01:21
-0500)
committer
Mike Snitzer
<snitzer@redhat.com>
Tue, 22 Jan 2019 18:41:48 +0000
(13:41 -0500)
Provides useful context about bio splits in blktrace.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm.c
b/drivers/md/dm.c
index a010002d892be14ff0fb67bab9c7d9d2d2efea95..2b53c3841b530b591c0c8ed688c0ea2b94b5f273 100644
(file)
--- 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;
}