diff options
author | Kemeng Shi <shikemeng@huaweicloud.com> | 2023-01-18 17:37:14 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-02-06 09:22:28 -0700 |
commit | c31e76bcc379182fe67a82c618493b7b8868c672 (patch) | |
tree | b9a3f160a26d29bcabef49e72d2f548acec84661 /block/blk-mq-sched.c | |
parent | 6ee858a3d3270a68902d66bb47c151a83622535c (diff) | |
download | linux-c31e76bcc379182fe67a82c618493b7b8868c672.tar.gz linux-c31e76bcc379182fe67a82c618493b7b8868c672.tar.bz2 linux-c31e76bcc379182fe67a82c618493b7b8868c672.zip |
blk-mq: remove stale comment for blk_mq_sched_mark_restart_hctx
Commit 97889f9ac24f8 ("blk-mq: remove synchronize_rcu() from
blk_mq_del_queue_tag_set()") remove handle of TAG_SHARED in restart,
then shared_hctx_restart counted for how many hardware queues are marked
for restart is removed too.
Remove the stale comment that we still count hardware queues need restart.
Fixes: 97889f9ac24f ("blk-mq: remove synchronize_rcu() from blk_mq_del_queue_tag_set()")
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-sched.c')
-rw-r--r-- | block/blk-mq-sched.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/block/blk-mq-sched.c b/block/blk-mq-sched.c index 23d1a90fec42..ae40cdb7a383 100644 --- a/block/blk-mq-sched.c +++ b/block/blk-mq-sched.c @@ -19,8 +19,7 @@ #include "blk-wbt.h" /* - * Mark a hardware queue as needing a restart. For shared queues, maintain - * a count of how many hardware queues are marked for restart. + * Mark a hardware queue as needing a restart. */ void blk_mq_sched_mark_restart_hctx(struct blk_mq_hw_ctx *hctx) { |