mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
fs/erofs: add config options for dedupe, fragments and ztailpacking
Add Kconfig toggles for a few more extended options that are useful for reducing size and improving performance of EROFS images. Descriptions of the config options were taken from the erofs-utils manpage. Signed-off-by: Jan Čermák <sairon@sairon.cz> [Arnout: fix Config.in help text and indentation] Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
01b45ef87d
commit
39aec97630
@@ -58,6 +58,33 @@ config BR2_TARGET_ROOTFS_EROFS_LZMA_LEVEL
|
||||
|
||||
endif # BR2_TARGET_ROOTFS_EROFS_LZMA
|
||||
|
||||
config BR2_TARGET_ROOTFS_EROFS_DEDUPE
|
||||
bool "enable data deduplication"
|
||||
depends on !BR2_TARGET_ROOTFS_EROFS_NONE
|
||||
help
|
||||
Enable global compressed data deduplication to reduce FS image
|
||||
size. Introduced in Linux 6.1.
|
||||
|
||||
config BR2_TARGET_ROOTFS_EROFS_FRAGMENTS
|
||||
bool "enable fragments packing"
|
||||
help
|
||||
Pack the tail part (pcluster) of compressed files, or entire
|
||||
files, into a special inode for smaller image size.
|
||||
Introduced in Linux 6.1.
|
||||
|
||||
config BR2_TARGET_ROOTFS_EROFS_ALL_FRAGMENTS
|
||||
bool "enable fragments packing"
|
||||
help
|
||||
Forcely record the whole files into a special inode for better
|
||||
compression. Introduced in Linux 6.1.
|
||||
|
||||
config BR2_TARGET_ROOTFS_EROFS_ZTAILPACKING
|
||||
bool "enable ztailpacking"
|
||||
help
|
||||
Pack the tail part (pcluster) of compressed files into its
|
||||
metadata to save more space and the tail part I/O. Introduced
|
||||
in Linux 5.17.
|
||||
|
||||
config BR2_TARGET_ROOTFS_EROFS_PCLUSTERSIZE
|
||||
int "pcluster size"
|
||||
default 0
|
||||
|
||||
Reference in New Issue
Block a user