Huang Jianan | 024fb2f | 2022-02-26 15:05:47 +0800 | [diff] [blame] | 1 | config FS_EROFS |
| 2 | bool "Enable EROFS filesystem support" |
| 3 | help |
| 4 | This provides support for reading images from EROFS filesystem. |
| 5 | EROFS (Enhanced Read-Only File System) is a lightweight read-only |
| 6 | file system for scenarios which need high-performance read-only |
| 7 | requirements. |
| 8 | |
| 9 | It also provides fixed-sized output compression support, which |
| 10 | improves storage density, keeps relatively higher compression |
| 11 | ratios, which is more useful to achieve high performance for |
| 12 | embedded devices with limited memory. |
Huang Jianan | 7dcfbb1 | 2022-02-26 15:05:49 +0800 | [diff] [blame] | 13 | |
| 14 | config FS_EROFS_ZIP |
| 15 | bool "EROFS Data Compression Support" |
| 16 | depends on FS_EROFS |
| 17 | select LZ4 |
| 18 | default y |
| 19 | help |
| 20 | Enable fixed-sized output compression for EROFS. |
| 21 | If you don't want to enable compression feature, say N. |
Jianan Huang | 4f831f2 | 2024-04-14 23:04:14 +0800 | [diff] [blame] | 22 | |
| 23 | config FS_EROFS_ZIP_DEFLATE |
| 24 | bool "EROFS DEFLATE compressed data support" |
| 25 | depends on FS_EROFS_ZIP |
| 26 | select ZLIB |
| 27 | help |
| 28 | Saying Y here includes support for reading EROFS file systems |
| 29 | containing DEFLATE compressed data. It gives better compression |
| 30 | ratios than the default LZ4 format, while it costs more CPU |
| 31 | overhead. |
| 32 | |
| 33 | DEFLATE support is an experimental feature for now and so most |
| 34 | file systems will be readable without selecting this option. |
| 35 | |
| 36 | If unsure, say N. |