Skip to contentSkip to conversation

test_appliance: add f2fs/compress config

PATCH New Eric Biggers 1 participant 1 message Feb 8, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 test_appliance: add f2fs/compress config

From: Eric Biggers <[email protected]>

Add a f2fs/compress configuration which causes all files to be automatically compressed, similar to how f2fs/encrypt causes all files to be automatically encrypted.

---
 test-appliance/files/root/fs/f2fs/cfg/all.list | 1 +
 test-appliance/files/root/fs/f2fs/cfg/compress | 5 +++++
 2 files changed, 6 insertions(+)
 create mode 100644 test-appliance/files/root/fs/f2fs/cfg/compress
test-appliance/files/root/fs/f2fs/cfg/all.list +1 -0
index bc796ff..90a7a36 100644
@@ -1,2 +1,3 @@
 default
 encrypt
+compress
test-appliance/files/root/fs/f2fs/cfg/compress new file +5 -0
new file mode 100644
index 0000000..6f2b954
@@ -0,0 +1,5 @@
+SIZE=small
+export MKFS_OPTIONS="-O compression,extra_attr"
+export F2FS_MOUNT_OPTIONS="compress_extension=*"
+REQUIRE_FEATURE=compression
+TESTNAME="F2FS compression"
Signature · 1 line
2.39.1