1What: /sys/fs/erofs/features/ 2Date: November 2021 3Contact: "Huang Jianan" <huangjianan@oppo.com> 4Description: Shows all enabled kernel features. 5 Supported features: 6 zero_padding, compr_cfgs, big_pcluster, chunked_file, 7 device_table, compr_head2, sb_chksum, ztailpacking, 8 dedupe, fragments. 9 10What: /sys/fs/erofs/<disk>/sync_decompress 11Date: November 2021 12Contact: "Huang Jianan" <huangjianan@oppo.com> 13Description: Control strategy of sync decompression: 14 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. 19 20What: /sys/fs/erofs/<disk>/drop_caches 21Date: November 2024 22Contact: "Guo Chunhai" <guochunhai@vivo.com> 23Description: Writing to this will drop compression-related caches, 24 currently used to drop in-memory pclusters and cached 25 compressed folios: 26 27 - 1 : invalidate cached compressed folios 28 - 2 : drop in-memory pclusters 29 - 3 : drop in-memory pclusters and cached compressed folios 30