Prechádzať zdrojové kódy

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 16 rokov pred
rodič
commit
a5cb562d69
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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