Artem Bityutskiy | 0d7eff8 | 2008-07-14 19:08:38 +0300 | [diff] [blame] | 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 |
Don Mullis | a069c26 | 2010-03-05 13:43:16 -0800 | [diff] [blame] | 10 | select LIST_SORT |
Artem Bityutskiy | 0d7eff8 | 2008-07-14 19:08:38 +0300 | [diff] [blame] | 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, |
Matt LaPlante | 692105b | 2009-01-26 11:12:25 +0100 | [diff] [blame] | 26 | are enabled in UBIFS. Removing compressors means inability to read |
Artem Bityutskiy | 0d7eff8 | 2008-07-14 19:08:38 +0300 | [diff] [blame] | 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 |
Matt LaPlante | 692105b | 2009-01-26 11:12:25 +0100 | [diff] [blame] | 36 | LZO compressor is generally faster than zlib but compresses worse. |
Artem Bityutskiy | 0d7eff8 | 2008-07-14 19:08:38 +0300 | [diff] [blame] | 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 |
Frederik Schwarzer | 025dfda | 2008-10-16 19:02:37 +0200 | [diff] [blame] | 44 | Zlib compresses better than LZO but it is slower. Say 'Y' if unsure. |
Artem Bityutskiy | 0d7eff8 | 2008-07-14 19:08:38 +0300 | [diff] [blame] | 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. |