[dm-devel] [PATCH 17/42] Increase parameter buffer

Hannes Reinecke hare at suse.de
Tue Jan 8 13:53:55 UTC 2013


Multipath is using an internal static buffer for assembling
device-mapper tables, which might be too small for large setups.

Signed-off-by: Hannes Reinecke <hare at suse.de>
---
 libmultipath/structs.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libmultipath/structs.h b/libmultipath/structs.h
index 312014b..16e940b 100644
--- a/libmultipath/structs.h
+++ b/libmultipath/structs.h
@@ -9,7 +9,7 @@
 #define SERIAL_SIZE		65
 #define NODE_NAME_SIZE		224
 #define PATH_STR_SIZE		16
-#define PARAMS_SIZE		1024
+#define PARAMS_SIZE		4096
 #define FILE_NAME_SIZE		256
 #define CALLOUT_MAX_SIZE	256
 #define BLK_DEV_SIZE		33
-- 
1.7.4.2




More information about the dm-devel mailing list