| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | config F2FS_FS |
|---|
| 2 | 3 | tristate "F2FS filesystem support" |
|---|
| 3 | 4 | depends on BLOCK |
|---|
| .. | .. |
|---|
| 6 | 7 | select CRYPTO_CRC32 |
|---|
| 7 | 8 | select F2FS_FS_XATTR if FS_ENCRYPTION |
|---|
| 8 | 9 | select FS_ENCRYPTION_ALGS if FS_ENCRYPTION |
|---|
| 10 | + select LZ4_COMPRESS if F2FS_FS_LZ4 |
|---|
| 11 | + select LZ4_DECOMPRESS if F2FS_FS_LZ4 |
|---|
| 12 | + select LZ4HC_COMPRESS if F2FS_FS_LZ4HC |
|---|
| 13 | + select LZO_COMPRESS if F2FS_FS_LZO |
|---|
| 14 | + select LZO_DECOMPRESS if F2FS_FS_LZO |
|---|
| 15 | + select ZSTD_COMPRESS if F2FS_FS_ZSTD |
|---|
| 16 | + select ZSTD_DECOMPRESS if F2FS_FS_ZSTD |
|---|
| 9 | 17 | help |
|---|
| 10 | 18 | F2FS is based on Log-structured File System (LFS), which supports |
|---|
| 11 | 19 | versatile "flash-friendly" features. The design has been focused on |
|---|
| .. | .. |
|---|
| 75 | 83 | |
|---|
| 76 | 84 | If you want to improve the performance, say N. |
|---|
| 77 | 85 | |
|---|
| 78 | | -config F2FS_FS_ENCRYPTION |
|---|
| 79 | | - bool "F2FS Encryption" |
|---|
| 80 | | - depends on F2FS_FS |
|---|
| 81 | | - select FS_ENCRYPTION |
|---|
| 82 | | - help |
|---|
| 83 | | - This kconfig symbol is deprecated; now it just selects |
|---|
| 84 | | - FS_ENCRYPTION. Use CONFIG_FS_ENCRYPTION=y in new config |
|---|
| 85 | | - files. |
|---|
| 86 | | - |
|---|
| 87 | | -config F2FS_IO_TRACE |
|---|
| 88 | | - bool "F2FS IO tracer" |
|---|
| 89 | | - depends on F2FS_FS |
|---|
| 90 | | - depends on FUNCTION_TRACER |
|---|
| 91 | | - help |
|---|
| 92 | | - F2FS IO trace is based on a function trace, which gathers process |
|---|
| 93 | | - information and block IO patterns in the filesystem level. |
|---|
| 94 | | - |
|---|
| 95 | | - If unsure, say N. |
|---|
| 96 | | - |
|---|
| 97 | 86 | config F2FS_FAULT_INJECTION |
|---|
| 98 | 87 | bool "F2FS fault injection facility" |
|---|
| 99 | 88 | depends on F2FS_FS |
|---|
| .. | .. |
|---|
| 112 | 101 | config F2FS_FS_LZO |
|---|
| 113 | 102 | bool "LZO compression support" |
|---|
| 114 | 103 | depends on F2FS_FS_COMPRESSION |
|---|
| 115 | | - select LZO_COMPRESS |
|---|
| 116 | | - select LZO_DECOMPRESS |
|---|
| 117 | 104 | default y |
|---|
| 118 | 105 | help |
|---|
| 119 | 106 | Support LZO compress algorithm, if unsure, say Y. |
|---|
| .. | .. |
|---|
| 121 | 108 | config F2FS_FS_LZ4 |
|---|
| 122 | 109 | bool "LZ4 compression support" |
|---|
| 123 | 110 | depends on F2FS_FS_COMPRESSION |
|---|
| 124 | | - select LZ4_COMPRESS |
|---|
| 125 | | - select LZ4_DECOMPRESS |
|---|
| 126 | 111 | default y |
|---|
| 127 | 112 | help |
|---|
| 128 | 113 | Support LZ4 compress algorithm, if unsure, say Y. |
|---|
| 129 | 114 | |
|---|
| 115 | +config F2FS_FS_LZ4HC |
|---|
| 116 | + bool "LZ4HC compression support" |
|---|
| 117 | + depends on F2FS_FS_COMPRESSION |
|---|
| 118 | + depends on F2FS_FS_LZ4 |
|---|
| 119 | + default y |
|---|
| 120 | + help |
|---|
| 121 | + Support LZ4HC compress algorithm, LZ4HC has compatible on-disk |
|---|
| 122 | + layout with LZ4, if unsure, say Y. |
|---|
| 123 | + |
|---|
| 130 | 124 | config F2FS_FS_ZSTD |
|---|
| 131 | 125 | bool "ZSTD compression support" |
|---|
| 132 | 126 | depends on F2FS_FS_COMPRESSION |
|---|
| 133 | | - select ZSTD_COMPRESS |
|---|
| 134 | | - select ZSTD_DECOMPRESS |
|---|
| 135 | 127 | default y |
|---|
| 136 | 128 | help |
|---|
| 137 | 129 | Support ZSTD compress algorithm, if unsure, say Y. |
|---|
| 130 | + |
|---|
| 131 | +config F2FS_FS_LZORLE |
|---|
| 132 | + bool "LZO-RLE compression support" |
|---|
| 133 | + depends on F2FS_FS_COMPRESSION |
|---|
| 134 | + depends on F2FS_FS_LZO |
|---|
| 135 | + default y |
|---|
| 136 | + help |
|---|
| 137 | + Support LZO-RLE compress algorithm, if unsure, say Y. |
|---|