* [PATCH] bcache: remove unused constants
@ 2025-04-15 16:59 Robert Pang
2025-04-16 9:46 ` Coly Li
0 siblings, 1 reply; 2+ messages in thread
From: Robert Pang @ 2025-04-15 16:59 UTC (permalink / raw)
To: Coly Li, Kent Overstreet, linux-bcache; +Cc: Robert Pang
Remove constants MAX_NEED_GC and MAX_SAVE_PRIO in btree.c that have been unused
since initial commit.
Signed-off-by: Robert Pang <robertpang@google.com>
---
drivers/md/bcache/btree.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c
index ed40d8600656..f991be2bc44e 100644
--- a/drivers/md/bcache/btree.c
+++ b/drivers/md/bcache/btree.c
@@ -88,8 +88,6 @@
* Test module load/unload
*/
-#define MAX_NEED_GC 64
-#define MAX_SAVE_PRIO 72
#define MAX_GC_TIMES 100
#define MIN_GC_NODES 100
#define GC_SLEEP_MS 100
--
2.49.0.805.g082f7c87e0-goog
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] bcache: remove unused constants
2025-04-15 16:59 [PATCH] bcache: remove unused constants Robert Pang
@ 2025-04-16 9:46 ` Coly Li
0 siblings, 0 replies; 2+ messages in thread
From: Coly Li @ 2025-04-16 9:46 UTC (permalink / raw)
To: Robert Pang; +Cc: Coly Li, Kent Overstreet, linux-bcache
> 2025年4月16日 00:59,Robert Pang <robertpang@google.com> 写道:
>
> Remove constants MAX_NEED_GC and MAX_SAVE_PRIO in btree.c that have been unused
> since initial commit.
>
> Signed-off-by: Robert Pang <robertpang@google.com>
Reviewed-by: Coly Li <colyli@kernel.org <mailto:colyli@kernel.org>>
Thanks.
Coly Li
> ---
> drivers/md/bcache/btree.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c
> index ed40d8600656..f991be2bc44e 100644
> --- a/drivers/md/bcache/btree.c
> +++ b/drivers/md/bcache/btree.c
> @@ -88,8 +88,6 @@
> * Test module load/unload
> */
>
> -#define MAX_NEED_GC 64
> -#define MAX_SAVE_PRIO 72
> #define MAX_GC_TIMES 100
> #define MIN_GC_NODES 100
> #define GC_SLEEP_MS 100
> --
> 2.49.0.805.g082f7c87e0-goog
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-04-16 12:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-15 16:59 [PATCH] bcache: remove unused constants Robert Pang
2025-04-16 9:46 ` Coly Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox