diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-10-16 17:27:20 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 14:39:48 -0600 |
commit | 9a14d6ce4135fa72705a926c894218a0d6988924 (patch) | |
tree | d51112511805330c8d7ac424a235c3d635e577ca /block/blk-mq.h | |
parent | 128459062bc994355027e190477c432ec5b5638a (diff) | |
download | linux-9a14d6ce4135fa72705a926c894218a0d6988924.tar.gz linux-9a14d6ce4135fa72705a926c894218a0d6988924.tar.bz2 linux-9a14d6ce4135fa72705a926c894218a0d6988924.zip |
block: remove debugfs blk_mq_ctx dispatched/merged/completed attributes
These were added as part of early days debugging for blk-mq, and they
are not really useful anymore. Rather than spend cycles updating them,
just get rid of them.
As a bonus, this shrinks the per-cpu software queue size from 256b
to 192b. That's a whole cacheline less.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.h')
-rw-r--r-- | block/blk-mq.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/block/blk-mq.h b/block/blk-mq.h index 8be447995106..1b91a3fdaa01 100644 --- a/block/blk-mq.h +++ b/block/blk-mq.h @@ -25,13 +25,6 @@ struct blk_mq_ctx { unsigned short index_hw[HCTX_MAX_TYPES]; struct blk_mq_hw_ctx *hctxs[HCTX_MAX_TYPES]; - /* incremented at dispatch time */ - unsigned long rq_dispatched[2]; - unsigned long rq_merged; - - /* incremented at completion time */ - unsigned long ____cacheline_aligned_in_smp rq_completed[2]; - struct request_queue *queue; struct blk_mq_ctxs *ctxs; struct kobject kobj; |