From b504bb809efa8a3a4db0e494bb80d3720d82e6ff Mon Sep 17 00:00:00 2001 From: David Teigland Date: Thu, 15 Feb 2018 10:27:43 -0600 Subject: [PATCH] scan: use 128K bcache block size --- lib/label/label.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/label/label.c b/lib/label/label.c index dc14bebc3..38db73371 100644 --- a/lib/label/label.c +++ b/lib/label/label.c @@ -253,7 +253,7 @@ struct label *label_create(struct labeller *labeller) /* global variable for accessing the bcache populated by label scan */ struct bcache *scan_bcache; -#define BCACHE_BLOCK_SIZE_IN_SECTORS 2048 /* 1MB */ +#define BCACHE_BLOCK_SIZE_IN_SECTORS 256 /* 256*512 = 128K */ static bool _in_bcache(struct device *dev) { -- 2.43.5