Skip to contentSkip to conversation

master - scan: use 128K bcache block size

PATCH David Teigland 1 participant 1 message Apr 23, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=b504bb809efa8a3a4db0e494bb80d3720d82e6ff
Commit:        b504bb809efa8a3a4db0e494bb80d3720d82e6ff
Parent:        ae093df3f15f6d125bf85ed921e5a971b170dc23
Author:        David Teigland <[email protected]>
AuthorDate:    Thu Feb 15 10:27:43 2018 -0600
Committer:     David Teigland <[email protected]>
CommitterDate: Fri Apr 20 11:22:46 2018 -0500

scan: use 128K bcache block size

---
 lib/label/label.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/label/label.c +1 -1
index dc14beb..38db733 100644
@@ -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)
 {