All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] blk-mq: remove unused 'nr_expired' from blk_mq_hw_ctx
@ 2019-03-19 15:05 Dongli Zhang
  2019-03-19 15:06 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Dongli Zhang @ 2019-03-19 15:05 UTC (permalink / raw)
  To: axboe, linux-block; +Cc: linux-kernel, keith.busch

There is no usage of 'nr_expired'.

The 'nr_expired' was introduced by commit 1d9bd5161ba3 ("blk-mq: replace
timeout synchronization with a RCU and generation based scheme"). Its usage
was removed since commit 12f5b9314545 ("blk-mq: Remove generation
seqeunce").

Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
---
 include/linux/blk-mq.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h
index b0c814b..3535969 100644
--- a/include/linux/blk-mq.h
+++ b/include/linux/blk-mq.h
@@ -57,7 +57,6 @@ struct blk_mq_hw_ctx {
 	unsigned int		queue_num;
 
 	atomic_t		nr_active;
-	unsigned int		nr_expired;
 
 	struct hlist_node	cpuhp_dead;
 	struct kobject		kobj;
-- 
2.7.4


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

* Re: [PATCH 1/1] blk-mq: remove unused 'nr_expired' from blk_mq_hw_ctx
  2019-03-19 15:05 [PATCH 1/1] blk-mq: remove unused 'nr_expired' from blk_mq_hw_ctx Dongli Zhang
@ 2019-03-19 15:06 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2019-03-19 15:06 UTC (permalink / raw)
  To: Dongli Zhang, linux-block; +Cc: linux-kernel, keith.busch

On 3/19/19 9:05 AM, Dongli Zhang wrote:
> There is no usage of 'nr_expired'.
> 
> The 'nr_expired' was introduced by commit 1d9bd5161ba3 ("blk-mq: replace
> timeout synchronization with a RCU and generation based scheme"). Its usage
> was removed since commit 12f5b9314545 ("blk-mq: Remove generation
> seqeunce").

Thanks, applied.

-- 
Jens Axboe


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

end of thread, other threads:[~2019-03-19 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-19 15:05 [PATCH 1/1] blk-mq: remove unused 'nr_expired' from blk_mq_hw_ctx Dongli Zhang
2019-03-19 15:06 ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.