File Index
Files and directories
Sign in
FILE

sysfs-fs-erofs

File preview with syntax highlighting.

linux-6.19.14/Documentation/ABI/testing/sysfs-fs-erofs PLAIN TEXT
 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, 48bit, metabox.
 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
31What:		/sys/fs/erofs/accel
32Date:		May 2025
33Contact:	"Bo Liu" <liubo03@inspur.com>
34Description:	Used to set or show hardware accelerators in effect
35		and multiple accelerators are separated by '\n'.
36		Supported accelerator(s): qat_deflate.
37		Disable all accelerators with an empty string (echo > accel).
38
39What:		/sys/fs/erofs/<disk>/dir_ra_bytes
40Date:		July 2025
41Contact:	"Chao Yu" <chao@kernel.org>
42Description:	Used to set or show readahead bytes during readdir(), by
43		default the value is 16384.
44
45		- 0: disable readahead.
~/ Read-only file preview.