]> bbs.cooldavid.org Git - net-next-2.6.git/blob - fs/ubifs/Kconfig
Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelv...
[net-next-2.6.git] / fs / ubifs / Kconfig
1 config UBIFS_FS
2         tristate "UBIFS file system support"
3         select CRC16
4         select CRC32
5         select CRYPTO if UBIFS_FS_ADVANCED_COMPR
6         select CRYPTO if UBIFS_FS_LZO
7         select CRYPTO if UBIFS_FS_ZLIB
8         select CRYPTO_LZO if UBIFS_FS_LZO
9         select CRYPTO_DEFLATE if UBIFS_FS_ZLIB
10         select LIST_SORT
11         depends on MTD_UBI
12         help
13           UBIFS is a file system for flash devices which works on top of UBI.
14
15 config UBIFS_FS_XATTR
16         bool "Extended attributes support"
17         depends on UBIFS_FS
18         help
19           This option enables support of extended attributes.
20
21 config UBIFS_FS_ADVANCED_COMPR
22         bool "Advanced compression options"
23         depends on UBIFS_FS
24         help
25           This option allows to explicitly choose which compressions, if any,
26           are enabled in UBIFS. Removing compressors means inability to read
27           existing file systems.
28
29           If unsure, say 'N'.
30
31 config UBIFS_FS_LZO
32         bool "LZO compression support" if UBIFS_FS_ADVANCED_COMPR
33         depends on UBIFS_FS
34         default y
35         help
36            LZO compressor is generally faster than zlib but compresses worse.
37            Say 'Y' if unsure.
38
39 config UBIFS_FS_ZLIB
40         bool "ZLIB compression support" if UBIFS_FS_ADVANCED_COMPR
41         depends on UBIFS_FS
42         default y
43         help
44           Zlib compresses better than LZO but it is slower. Say 'Y' if unsure.
45
46 # Debugging-related stuff
47 config UBIFS_FS_DEBUG
48         bool "Enable debugging"
49         depends on UBIFS_FS
50         select DEBUG_FS
51         select KALLSYMS_ALL
52         help
53           This option enables UBIFS debugging.
54
55 config UBIFS_FS_DEBUG_MSG_LVL
56         int "Default message level (0 = no extra messages, 3 = lots)"
57         depends on UBIFS_FS_DEBUG
58         default "0"
59         help
60           This controls the amount of debugging messages produced by UBIFS.
61           If reporting bugs, please try to have available a full dump of the
62           messages at level 1 while the misbehaviour was occurring. Level 2
63           may become necessary if level 1 messages were not enough to find the
64           bug. Generally Level 3 should be avoided.
65
66 config UBIFS_FS_DEBUG_CHKS
67         bool "Enable extra checks"
68         depends on UBIFS_FS_DEBUG
69         help
70           If extra checks are enabled UBIFS will check the consistency of its
71           internal data structures during operation. However, UBIFS performance
72           is dramatically slower when this option is selected especially if the
73           file system is large.