]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
imsm: change reserved space to 4MB
authorMariusz Dabrowski <mariusz.dabrowski@intel.com>
Thu, 5 Apr 2018 11:38:35 +0000 (13:38 +0200)
committerJes Sorensen <jsorensen@fb.com>
Thu, 12 Apr 2018 15:31:45 +0000 (11:31 -0400)
Due to compatibility to the  newest OROM, imsm reserved space has to be
expanded to 4MB.

Signed-off-by: Mariusz Dabrowski <mariusz.dabrowski@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
super-intel.c

index fb1b6936d9324ad185c7280622538f6b302f4929..52011e5b44a40fdc948ac59d4fc6bf9c14dee56a 100644 (file)
@@ -88,8 +88,8 @@
 #define MPB_ATTRIB_IGNORED             (MPB_ATTRIB_NEVER_USE)
 
 #define MPB_SECTOR_CNT 2210
-#define IMSM_RESERVED_SECTORS 4096
-#define NUM_BLOCKS_DIRTY_STRIPE_REGION 2056
+#define IMSM_RESERVED_SECTORS 8192
+#define NUM_BLOCKS_DIRTY_STRIPE_REGION 2048
 #define SECT_PER_MB_SHIFT 11
 #define MAX_SECTOR_SIZE 4096
 #define MULTIPLE_PPL_AREA_SIZE_IMSM (1024 * 1024) /* Size of the whole