diff options
author | Christoph Hellwig <hch@lst.de> | 2020-12-03 17:21:36 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-04 17:42:00 +0100 |
commit | e8a676d61c07eccfcd9d6fddfe4dcb630651c29a (patch) | |
tree | a61b04e78f92bef8c5aff2a15447b609f4b2ecf9 /block/bounce.c | |
parent | block: remove the unused block_sleeprq tracepoint (diff) | |
download | linux-e8a676d61c07eccfcd9d6fddfe4dcb630651c29a.tar.xz 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/bounce.c')
-rw-r--r-- | block/bounce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/bounce.c b/block/bounce.c index 162a6eee8999..d3f51acd6e3b 100644 --- a/block/bounce.c +++ b/block/bounce.c @@ -340,7 +340,7 @@ static void __blk_queue_bounce(struct request_queue *q, struct bio **bio_orig, } } - trace_block_bio_bounce(q, *bio_orig); + trace_block_bio_bounce(*bio_orig); bio->bi_flags |= (1 << BIO_BOUNCED); |