block: Remove the ALLOC_CACHE_SLACK constant
PATCH 1/1 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]>
--- block/bio.c | 1 - 1 file changed, 1 deletion(-)
block/bio.c +0 -1
@@ -26,7 +26,6 @@#include "blk-cgroup.h" #define ALLOC_CACHE_THRESHOLD 16 -#define ALLOC_CACHE_SLACK 64#define ALLOC_CACHE_MAX 256struct bio_alloc_cache {
Quoted 5 lines · Bart Van Assche
Commit
b99182c501c3("bio: add pcpu caching for non-pollingbio_put") removed the code that uses this constant. Hence also remove the constant itself.
Applied, thanks!
[1/1] block: Remove the ALLOC_CACHE_SLACK constant
commit: 9af9935494e4b86ec3c44ec42779f08c4ba79ffe
Best regards,
Signature · 1 line
Jens Axboe