Blame SOURCES/lvm2-2_02_184-io-increase-the-default-io-memory-from-4-to-8-MiB.patch

f8f52d
 lib/config/defaults.h | 2 +-
f8f52d
 lib/label/label.c     | 2 +-
f8f52d
 2 files changed, 2 insertions(+), 2 deletions(-)
f8f52d
f8f52d
diff --git a/lib/config/defaults.h b/lib/config/defaults.h
f8f52d
index 690bf56..ad20e0f 100644
f8f52d
--- a/lib/config/defaults.h
f8f52d
+++ b/lib/config/defaults.h
f8f52d
@@ -267,6 +267,6 @@
f8f52d
 #define DEFAULT_THIN_POOL_AUTOEXTEND_THRESHOLD 100
f8f52d
 #define DEFAULT_THIN_POOL_AUTOEXTEND_PERCENT 20
f8f52d
 
f8f52d
-#define DEFAULT_IO_MEMORY_SIZE_KB 4096
f8f52d
+#define DEFAULT_IO_MEMORY_SIZE_KB 8192
f8f52d
 
f8f52d
 #endif				/* _LVM_DEFAULTS_H */
f8f52d
diff --git a/lib/label/label.c b/lib/label/label.c
f8f52d
index 4fdbbb7..00dadfd 100644
f8f52d
--- a/lib/label/label.c
f8f52d
+++ b/lib/label/label.c
f8f52d
@@ -791,7 +791,7 @@ out:
f8f52d
  * the metadata size.)
f8f52d
  */
f8f52d
 
f8f52d
-#define MIN_BCACHE_BLOCKS 32    /* 4MB, currently matches DEFAULT_IO_MEMORY_SIZE_KB */
f8f52d
+#define MIN_BCACHE_BLOCKS 32    /* 4MB */
f8f52d
 #define MAX_BCACHE_BLOCKS 1024
f8f52d
 
f8f52d
 static int _setup_bcache(int num_devs)