Browse Source

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 17 năm trước cách đây
mục cha
commit
a5cb562d69
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      fs/ubifs/ubifs-media.h

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

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