diff options
author | 2020-12-03 17:21:36 +0100 | |
---|---|---|
committer | 2020-12-04 09:42:00 -0700 | |
commit | e8a676d61c07eccfcd9d6fddfe4dcb630651c29a (patch) | |
tree | a61b04e78f92bef8c5aff2a15447b609f4b2ecf9 /block/blk-mq.c | |
parent | block: remove the unused block_sleeprq tracepoint (diff) | |
download | linux-e8a676d61c07eccfcd9d6fddfe4dcb630651c29a.tar.gz linux-e8a676d61c07eccfcd9d6fddfe4dcb630651c29a.tar.bz2 linux-e8a676d61c07eccfcd9d6fddfe4dcb630651c29a.zip |
block: simplify and extend the block_bio_merge tracepoint class
The block_bio_merge tracepoint class can be reused for most bio-based
tracepoints. For that it just needs to lose the superfluous q and rq
parameters.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.c')
-rw-r--r-- | block/blk-mq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c index 37c682855a63..21e2b4b6b742 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -2184,7 +2184,7 @@ blk_qc_t blk_mq_submit_bio(struct bio *bio) goto queue_exit; } - trace_block_getrq(q, bio, bio->bi_opf); + trace_block_getrq(bio); rq_qos_track(q, rq, bio); |