29b24f6ca112d drivers/staging/erofs/Kconfig (Gao Xiang 2019-07-31 23:57:31 +0800 1) # SPDX-License-Identifier: GPL-2.0-only
fd68c6a20fcfa drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:51 +0800 2)
fd68c6a20fcfa drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:51 +0800 3) config EROFS_FS
fd68c6a20fcfa drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:51 +0800 4) tristate "EROFS filesystem support"
aca19723604c2 drivers/staging/erofs/Kconfig (Gao Xiang 2018-08-28 11:39:48 +0800 5) depends on BLOCK
b858a4844cfba fs/erofs/Kconfig (Pratik Shinde 2019-11-04 10:49:37 +0800 6) select LIBCRC32C
fd68c6a20fcfa drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:51 +0800 7) help
0b800f3dbae71 drivers/staging/erofs/Kconfig (Gao Xiang 2019-07-31 23:57:52 +0800 8) EROFS (Enhanced Read-Only File System) is a lightweight
fd68c6a20fcfa drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:51 +0800 9) read-only file system with modern designs (eg. page-sized
fd68c6a20fcfa drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:51 +0800 10) blocks, inline xattrs/data, etc.) for scenarios which need
0b800f3dbae71 drivers/staging/erofs/Kconfig (Gao Xiang 2019-07-31 23:57:52 +0800 11) high-performance read-only requirements, e.g. Android OS
0b800f3dbae71 drivers/staging/erofs/Kconfig (Gao Xiang 2019-07-31 23:57:52 +0800 12) for mobile phones and LIVECDs.
fd68c6a20fcfa drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:51 +0800 13)
0b800f3dbae71 drivers/staging/erofs/Kconfig (Gao Xiang 2019-07-31 23:57:52 +0800 14) It also provides fixed-sized output compression support,
0b800f3dbae71 drivers/staging/erofs/Kconfig (Gao Xiang 2019-07-31 23:57:52 +0800 15) which improves storage density, keeps relatively higher
0b800f3dbae71 drivers/staging/erofs/Kconfig (Gao Xiang 2019-07-31 23:57:52 +0800 16) compression ratios, which is more useful to achieve high
0b800f3dbae71 drivers/staging/erofs/Kconfig (Gao Xiang 2019-07-31 23:57:52 +0800 17) performance for embedded devices with limited memory.
fd68c6a20fcfa drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:51 +0800 18)
fd68c6a20fcfa drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:51 +0800 19) If unsure, say N.
fd68c6a20fcfa drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:51 +0800 20)
fd68c6a20fcfa drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:51 +0800 21) config EROFS_FS_DEBUG
fd68c6a20fcfa drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:51 +0800 22) bool "EROFS debugging feature"
fd68c6a20fcfa drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:51 +0800 23) depends on EROFS_FS
fd68c6a20fcfa drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:51 +0800 24) help
0b800f3dbae71 drivers/staging/erofs/Kconfig (Gao Xiang 2019-07-31 23:57:52 +0800 25) Print debugging messages and enable more BUG_ONs which check
0b800f3dbae71 drivers/staging/erofs/Kconfig (Gao Xiang 2019-07-31 23:57:52 +0800 26) filesystem consistency and find potential issues aggressively,
0b800f3dbae71 drivers/staging/erofs/Kconfig (Gao Xiang 2019-07-31 23:57:52 +0800 27) which can be used for Android eng build, for example.
fd68c6a20fcfa drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:51 +0800 28)
fd68c6a20fcfa drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:51 +0800 29) For daily use, say N.
fd68c6a20fcfa drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:51 +0800 30)
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 31) config EROFS_FS_XATTR
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 32) bool "EROFS extended attributes"
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 33) depends on EROFS_FS
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 34) default y
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 35) help
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 36) Extended attributes are name:value pairs associated with inodes by
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 37) the kernel or by users (see the attr(5) manual page, or visit
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 38) <http://acl.bestbits.at/> for details).
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 39)
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 40) If unsure, say N.
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 41)
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 42) config EROFS_FS_POSIX_ACL
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 43) bool "EROFS Access Control Lists"
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 44) depends on EROFS_FS_XATTR
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 45) select FS_POSIX_ACL
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 46) default y
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 47) help
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 48) Posix Access Control Lists (ACLs) support permissions for users and
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 49) groups beyond the owner/group/world scheme.
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 50)
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 51) To learn more about Access Control Lists, visit the POSIX ACLs for
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 52) Linux website <http://acl.bestbits.at/>.
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 53)
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 54) If you don't know what Access Control Lists are, say N.
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 55)
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 56) config EROFS_FS_SECURITY
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 57) bool "EROFS Security Labels"
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 58) depends on EROFS_FS_XATTR
0b800f3dbae71 drivers/staging/erofs/Kconfig (Gao Xiang 2019-07-31 23:57:52 +0800 59) default y
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 60) help
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 61) Security labels provide an access control facility to support Linux
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 62) Security Models (LSMs) accepted by AppArmor, SELinux, Smack and TOMOYO
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 63) Linux. This option enables an extended attribute handler for file
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 64) security labels in the erofs filesystem, so that it requires enabling
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 65) the extended attribute support in advance.
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 66)
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 67) If you are not using a security module, say N.
b17500a0fdbae drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:52 +0800 68)
02827e1796b33 drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:58 +0800 69) config EROFS_FS_ZIP
0b800f3dbae71 drivers/staging/erofs/Kconfig (Gao Xiang 2019-07-31 23:57:52 +0800 70) bool "EROFS Data Compression Support"
02827e1796b33 drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:58 +0800 71) depends on EROFS_FS
7962e63a2f414 drivers/staging/erofs/Kconfig (Gao Xiang 2018-11-10 00:07:50 +0800 72) select LZ4_DECOMPRESS
0b800f3dbae71 drivers/staging/erofs/Kconfig (Gao Xiang 2019-07-31 23:57:52 +0800 73) default y
02827e1796b33 drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:58 +0800 74) help
0b800f3dbae71 drivers/staging/erofs/Kconfig (Gao Xiang 2019-07-31 23:57:52 +0800 75) Enable fixed-sized output compression for EROFS.
02827e1796b33 drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:58 +0800 76)
0b800f3dbae71 drivers/staging/erofs/Kconfig (Gao Xiang 2019-07-31 23:57:52 +0800 77) If you don't want to enable compression feature, say N.
02827e1796b33 drivers/staging/erofs/Kconfig (Gao Xiang 2018-07-26 20:21:58 +0800 78)