blob: 7ff7712f284e030baf4e90a268c0577429497574 [file] [log] [blame]
Artem Bityutskiy0d7eff82008-07-14 19:08:38 +03001config 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 depends on MTD_UBI
11 help
12 UBIFS is a file system for flash devices which works on top of UBI.
13
Artem Bityutskiy0d7eff82008-07-14 19:08:38 +030014config UBIFS_FS_ADVANCED_COMPR
15 bool "Advanced compression options"
16 depends on UBIFS_FS
17 help
18 This option allows to explicitly choose which compressions, if any,
Matt LaPlante692105b2009-01-26 11:12:25 +010019 are enabled in UBIFS. Removing compressors means inability to read
Artem Bityutskiy0d7eff82008-07-14 19:08:38 +030020 existing file systems.
21
22 If unsure, say 'N'.
23
24config UBIFS_FS_LZO
25 bool "LZO compression support" if UBIFS_FS_ADVANCED_COMPR
26 depends on UBIFS_FS
27 default y
28 help
Matt LaPlante692105b2009-01-26 11:12:25 +010029 LZO compressor is generally faster than zlib but compresses worse.
Artem Bityutskiy0d7eff82008-07-14 19:08:38 +030030 Say 'Y' if unsure.
31
32config UBIFS_FS_ZLIB
33 bool "ZLIB compression support" if UBIFS_FS_ADVANCED_COMPR
34 depends on UBIFS_FS
35 default y
36 help
Frederik Schwarzer025dfda2008-10-16 19:02:37 +020037 Zlib compresses better than LZO but it is slower. Say 'Y' if unsure.
Dongsheng Yang8c1c5f22015-11-07 12:46:11 +080038
39config UBIFS_ATIME_SUPPORT
40 bool "Access time support" if UBIFS_FS
41 depends on UBIFS_FS
42 default n
43 help
44 Originally UBIFS did not support atime, because it looked like a bad idea due
45 increased flash wear. This option adds atime support and it is disabled by default
46 to preserve the old behavior. If you enable this option, UBIFS starts updating atime,
47 which means that file-system read operations will cause writes (inode atime
48 updates). This may affect file-system performance and increase flash device wear,
49 so be careful. How often atime is updated depends on the selected strategy:
50 strictatime is the "heavy", relatime is "lighter", etc.
51
52 If unsure, say 'N'