mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RESEND PATCH] block, bfq: remove unused variable for bfq_queue
@ 2022-10-18  3:01 Yuwei Guan
  2022-10-20 11:43 ` Yuwei Guan
  2022-10-20 12:47 ` Jens Axboe
  0 siblings, 2 replies; 7+ messages in thread
From: Yuwei Guan @ 2022-10-18  3:01 UTC (permalink / raw)
  To: paolo.valente, axboe; +Cc: linux-block, linux-kernel, Yuwei.Guan

it defined in d0edc2473be9d, but there's nowhere to use it,
so remove it.

Signed-off-by: Yuwei Guan <Yuwei.Guan@zeekrlife.com>
Acked-by: Paolo Valente <paolo.valente@linaro.org>
---
 block/bfq-iosched.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/block/bfq-iosched.h b/block/bfq-iosched.h
index 64ee618064ba..71f721670ab6 100644
--- a/block/bfq-iosched.h
+++ b/block/bfq-iosched.h
@@ -369,12 +369,8 @@ struct bfq_queue {
 	unsigned long split_time; /* time of last split */
 
 	unsigned long first_IO_time; /* time of first I/O for this queue */
-
 	unsigned long creation_time; /* when this queue is created */
 
-	/* max service rate measured so far */
-	u32 max_service_rate;
-
 	/*
 	 * Pointer to the waker queue for this queue, i.e., to the
 	 * queue Q such that this queue happens to get new I/O right
-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [RESEND PATCH] block, bfq: remove unused variable for bfq_queue
@ 2022-10-17  3:20 Yuwei Guan
  2022-10-17  3:38 ` Yu Kuai
  0 siblings, 1 reply; 7+ messages in thread
From: Yuwei Guan @ 2022-10-17  3:20 UTC (permalink / raw)
  To: paolo.valente, axboe; +Cc: linux-block, linux-kernel, Yuwei.Guan

it defined in d0edc2473be9d, but there's nowhere to use it,
so remove it.

Signed-off-by: Yuwei Guan <Yuwei.Guan@zeekrlife.com>
Acked-by: Paolo Valente <paolo.valente@linaro.org>
---
 block/bfq-iosched.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/block/bfq-iosched.h b/block/bfq-iosched.h
index 64ee618064ba..6bcef8e5871a 100644
--- a/block/bfq-iosched.h
+++ b/block/bfq-iosched.h
@@ -369,11 +369,8 @@ struct bfq_queue {
 	unsigned long split_time; /* time of last split */
 
 	unsigned long first_IO_time; /* time of first I/O for this queue */
-
 	unsigned long creation_time; /* when this queue is created */
 
-	/* max service rate measured so far */
-	u32 max_service_rate;
 
 	/*
 	 * Pointer to the waker queue for this queue, i.e., to the
-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [RESEND PATCH] block, bfq: remove unused variable for bfq_queue
@ 2022-10-12  6:34 Yuwei Guan
  0 siblings, 0 replies; 7+ messages in thread
From: Yuwei Guan @ 2022-10-12  6:34 UTC (permalink / raw)
  To: paolo.valente, axboe; +Cc: linux-block, linux-kernel, Yuwei.Guan

it defined in d0edc2473be9d, but there's nowhere to use it,
so remove it.

Signed-off-by: Yuwei Guan <Yuwei.Guan@zeekrlife.com>
---
 block/bfq-iosched.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/block/bfq-iosched.h b/block/bfq-iosched.h
index 64ee618064ba..6bcef8e5871a 100644
--- a/block/bfq-iosched.h
+++ b/block/bfq-iosched.h
@@ -369,11 +369,8 @@ struct bfq_queue {
 	unsigned long split_time; /* time of last split */
 
 	unsigned long first_IO_time; /* time of first I/O for this queue */
-
 	unsigned long creation_time; /* when this queue is created */
 
-	/* max service rate measured so far */
-	u32 max_service_rate;
 
 	/*
 	 * Pointer to the waker queue for this queue, i.e., to the
-- 
2.34.1


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

end of thread, other threads:[~2022-10-20 12:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-18  3:01 [RESEND PATCH] block, bfq: remove unused variable for bfq_queue Yuwei Guan
2022-10-20 11:43 ` Yuwei Guan
2022-10-20 12:47 ` Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2022-10-17  3:20 Yuwei Guan
2022-10-17  3:38 ` Yu Kuai
2022-10-17  5:22   ` Yuwei Guan
2022-10-12  6:34 Yuwei Guan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®