aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2023-02-09 15:01:35 -0800
committerJens Axboe <[email protected]>2023-02-09 17:03:36 -0700
commit9af9935494e4b86ec3c44ec42779f08c4ba79ffe (patch)
tree4f23bd0d56579de62371962ecce465abc793d802
parent5f6224175fbe4c2b91e303c17af4d4eb5e3a60a7 (diff)
block: Remove the ALLOC_CACHE_SLACK constant
Commit b99182c501c3 ("bio: add pcpu caching for non-polling bio_put") removed the code that uses this constant. Hence also remove the constant itself. Cc: Pavel Begunkov <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
-rw-r--r--block/bio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/bio.c b/block/bio.c
index 71e411a0c129..2693f34afb7e 100644
--- a/block/bio.c
+++ b/block/bio.c
@@ -26,7 +26,6 @@
#include "blk-cgroup.h"
#define ALLOC_CACHE_THRESHOLD 16
-#define ALLOC_CACHE_SLACK 64
#define ALLOC_CACHE_MAX 256
struct bio_alloc_cache {