public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
From: colyli@kernel.org
To: axboe@kernel.dk
Cc: linux-bcache@vger.kernel.org, linux-block@vger.kernel.org,
	Robert Pang <robertpang@google.com>, Coly Li <colyli@kernel.org>
Subject: [PATCH 2/3] bcache: remove unused constants
Date: Tue, 27 May 2025 13:16:00 +0800	[thread overview]
Message-ID: <20250527051601.74407-3-colyli@kernel.org> (raw)
In-Reply-To: <20250527051601.74407-1-colyli@kernel.org>

From: 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>
Signed-off-by: Coly Li <colyli@kernel.org>
---
 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.39.5


  parent reply	other threads:[~2025-05-27  5:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-27  5:15 [PATCH 0/3] bcache-6.16-20250527 colyli
2025-05-27  5:15 ` [PATCH 1/3] bcache: fix NULL pointer in cache_set_flush() colyli
2025-05-27  5:16 ` colyli [this message]
2025-05-27  5:16 ` [PATCH 3/3] bcache: reserve more RESERVE_BTREE buckets to prevent allocator hang colyli
2025-05-27 13:38 ` [PATCH 0/3] bcache-6.16-20250527 Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250527051601.74407-3-colyli@kernel.org \
    --to=colyli@kernel.org \
    --cc=axboe@kernel.dk \
    --cc=linux-bcache@vger.kernel.org \
    --cc=linux-block@vger.kernel.org \
    --cc=robertpang@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox