Explorar o código

UBIFS: make minimum fanout 3

UBIFS does not really work correctly when fanout is 2,
because of the way we manage the indexing tree. It may
just become a list and UBIFS screws up.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Artem Bityutskiy %!s(int64=17) %!d(string=hai) anos
pai
achega
a5cb562d69
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      fs/ubifs/ubifs-media.h

+ 1 - 1
fs/ubifs/ubifs-media.h

@@ -87,7 +87,7 @@
 #define UBIFS_SK_LEN 8
 
 /* Minimum index tree fanout */
-#define UBIFS_MIN_FANOUT 2
+#define UBIFS_MIN_FANOUT 3
 
 /* Maximum number of levels in UBIFS indexing B-tree */
 #define UBIFS_MAX_LEVELS 512