From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1893A848D for ; Fri, 10 Mar 2023 14:28:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80928C433EF; Fri, 10 Mar 2023 14:28:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1678458521; bh=0gkuRWdB/7LFHV/sKIYAnvKsg0rJJeQcybISYBR0W2E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YR4x2PNPvcqT0LBtI7uudxl++MSEXi9GU3V7bxj9RGCUNHqeR8NLCPgmXYw+eJ3ME yvPDpzaI2cB9aMKBlLA6WOqfWNT2Rk9acjs6XFgiYeBzHrrtHjPd8o6kL/I4yBj3G8 iv2wdu8zW3t3ywOscc68jA4RJ+QiszeVOzX8/b2g= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Christoph Hellwig , Kemeng Shi , Jens Axboe , Sasha Levin Subject: [PATCH 5.4 024/357] blk-mq: remove stale comment for blk_mq_sched_mark_restart_hctx Date: Fri, 10 Mar 2023 14:35:13 +0100 Message-Id: <20230310133735.063794264@linuxfoundation.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230310133733.973883071@linuxfoundation.org> References: <20230310133733.973883071@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Kemeng Shi [ Upstream commit c31e76bcc379182fe67a82c618493b7b8868c672 ] 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 Signed-off-by: Kemeng Shi Signed-off-by: Jens Axboe Signed-off-by: Sasha Levin --- block/blk-mq-sched.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/block/blk-mq-sched.c b/block/blk-mq-sched.c index 2e1afd3559b28..31d1e7150192e 100644 --- a/block/blk-mq-sched.c +++ b/block/blk-mq-sched.c @@ -59,8 +59,7 @@ void blk_mq_sched_assign_ioc(struct request *rq) } /* - * 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) { -- 2.39.2