diff options
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | 2021-02-21 21:29:59 -0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-22 06:37:41 -0700 |
commit | b357e4a694ac4b95096715df253548f7e1f2723f (patch) | |
tree | 0a39fa8f6ce67a09158c792d64835766a26a93ad /block/mq-deadline.c | |
parent | b0719245098c27b36a9b52969af0300ae6219591 (diff) | |
download | linux-rpi-b357e4a694ac4b95096715df253548f7e1f2723f.tar.gz linux-rpi-b357e4a694ac4b95096715df253548f7e1f2723f.tar.bz2 linux-rpi-b357e4a694ac4b95096715df253548f7e1f2723f.zip |
block: get rid of the trace rq insert wrapper
Get rid of the wrapper for trace_block_rq_insert() and call the function
directly.
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/mq-deadline.c')
-rw-r--r-- | block/mq-deadline.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/block/mq-deadline.c b/block/mq-deadline.c index b57470e154c8..f3631a287466 100644 --- a/block/mq-deadline.c +++ b/block/mq-deadline.c @@ -18,6 +18,8 @@ #include <linux/rbtree.h> #include <linux/sbitmap.h> +#include <trace/events/block.h> + #include "blk.h" #include "blk-mq.h" #include "blk-mq-debugfs.h" @@ -496,7 +498,7 @@ static void dd_insert_request(struct blk_mq_hw_ctx *hctx, struct request *rq, if (blk_mq_sched_try_insert_merge(q, rq)) return; - blk_mq_sched_request_inserted(rq); + trace_block_rq_insert(rq); if (at_head || blk_rq_is_passthrough(rq)) { if (at_head) |