Skip to content

Commit

Permalink
UBIFS: make minimum fanout 3
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Artem Bityutskiy authored and Artem Bityutskiy committed Sep 5, 2008
1 parent f171d4d commit a5cb562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ubifs/ubifs-media.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5cb562

Please sign in to comment.