linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] blk-mq: delete dead struct blk_mq_hw_ctx->queued field
@ 2023-07-20  9:55 chengming.zhou
  2023-07-20 15:36 ` Bart Van Assche
  2023-07-20 19:29 ` Jens Axboe
  0 siblings, 2 replies; 3+ messages in thread
From: chengming.zhou @ 2023-07-20  9:55 UTC (permalink / raw)
  To: axboe; +Cc: linux-block, linux-kernel, zhouchengming

From: Chengming Zhou <zhouchengming@bytedance.com>

This counter is not used anywhere, so delete it.

Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
---
 include/linux/blk-mq.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h
index 01e8c31db665..958ed7e89b30 100644
--- a/include/linux/blk-mq.h
+++ b/include/linux/blk-mq.h
@@ -393,8 +393,6 @@ struct blk_mq_hw_ctx {
 	 */
 	struct blk_mq_tags	*sched_tags;
 
-	/** @queued: Number of queued requests. */
-	unsigned long		queued;
 	/** @run: Number of dispatched requests. */
 	unsigned long		run;
 
-- 
2.41.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] blk-mq: delete dead struct blk_mq_hw_ctx->queued field
  2023-07-20  9:55 [PATCH] blk-mq: delete dead struct blk_mq_hw_ctx->queued field chengming.zhou
@ 2023-07-20 15:36 ` Bart Van Assche
  2023-07-20 19:29 ` Jens Axboe
  1 sibling, 0 replies; 3+ messages in thread
From: Bart Van Assche @ 2023-07-20 15:36 UTC (permalink / raw)
  To: chengming.zhou, axboe; +Cc: linux-block, linux-kernel, zhouchengming

On 7/20/23 02:55, chengming.zhou@linux.dev wrote:
> From: Chengming Zhou <zhouchengming@bytedance.com>
> 
> This counter is not used anywhere, so delete it.
> 
> Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
> ---
>   include/linux/blk-mq.h | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h
> index 01e8c31db665..958ed7e89b30 100644
> --- a/include/linux/blk-mq.h
> +++ b/include/linux/blk-mq.h
> @@ -393,8 +393,6 @@ struct blk_mq_hw_ctx {
>   	 */
>   	struct blk_mq_tags	*sched_tags;
>   
> -	/** @queued: Number of queued requests. */
> -	unsigned long		queued;
>   	/** @run: Number of dispatched requests. */
>   	unsigned long		run;

Reviewed-by: Bart Van Assche <bvanassche@acm.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] blk-mq: delete dead struct blk_mq_hw_ctx->queued field
  2023-07-20  9:55 [PATCH] blk-mq: delete dead struct blk_mq_hw_ctx->queued field chengming.zhou
  2023-07-20 15:36 ` Bart Van Assche
@ 2023-07-20 19:29 ` Jens Axboe
  1 sibling, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2023-07-20 19:29 UTC (permalink / raw)
  To: chengming.zhou; +Cc: linux-block, linux-kernel, zhouchengming


On Thu, 20 Jul 2023 17:55:12 +0800, chengming.zhou@linux.dev wrote:
> This counter is not used anywhere, so delete it.
> 
> 

Applied, thanks!

[1/1] blk-mq: delete dead struct blk_mq_hw_ctx->queued field
      commit: 3641c90c4e369c8d0af5483e879174400a152cf8

Best regards,
-- 
Jens Axboe




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-20 19:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-20  9:55 [PATCH] blk-mq: delete dead struct blk_mq_hw_ctx->queued field chengming.zhou
2023-07-20 15:36 ` Bart Van Assche
2023-07-20 19:29 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).