1 What: /sys/fs/erofs/features/
3 Contact: "Huang Jianan" <huangjianan@oppo.com>
4 Description: Shows all enabled kernel features.
6 zero_padding, compr_cfgs, big_pcluster, chunked_file,
7 device_table, compr_head2, sb_chksum, ztailpacking,
10 What: /sys/fs/erofs/<disk>/sync_decompress
12 Contact: "Huang Jianan" <huangjianan@oppo.com>
13 Description: Control strategy of sync decompression:
15 - 0 (default, auto): enable for readpage, and enable for
16 readahead on atomic contexts only.
17 - 1 (force on): enable for readpage and readahead.
18 - 2 (force off): disable for all situations.
20 What: /sys/fs/erofs/<disk>/drop_caches
22 Contact: "Guo Chunhai" <guochunhai@vivo.com>
23 Description: Writing to this will drop compression-related caches,
24 currently used to drop in-memory pclusters and cached
27 - 1 : invalidate cached compressed folios
28 - 2 : drop in-memory pclusters
29 - 3 : drop in-memory pclusters and cached compressed folios