All of lore.kernel.org
 help / color / mirror / Atom feed
* [f2fs-dev] [xfstests-bld PATCH] test_appliance: add f2fs/compress config
@ 2022-11-29  7:35 Eric Biggers
  2022-11-29 16:51 ` Jaegeuk Kim
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Biggers @ 2022-11-29  7:35 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: linux-f2fs-devel

From: Eric Biggers <ebiggers@google.com>

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.

Signed-off-by: Eric Biggers <ebiggers@google.com>
---
 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

diff --git a/test-appliance/files/root/fs/f2fs/cfg/all.list b/test-appliance/files/root/fs/f2fs/cfg/all.list
index bc796ff..90a7a36 100644
--- a/test-appliance/files/root/fs/f2fs/cfg/all.list
+++ b/test-appliance/files/root/fs/f2fs/cfg/all.list
@@ -1,2 +1,3 @@
 default
 encrypt
+compress
diff --git a/test-appliance/files/root/fs/f2fs/cfg/compress b/test-appliance/files/root/fs/f2fs/cfg/compress
new file mode 100644
index 0000000..6f2b954
--- /dev/null
+++ b/test-appliance/files/root/fs/f2fs/cfg/compress
@@ -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"
-- 
2.38.1



_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [f2fs-dev] [xfstests-bld PATCH] test_appliance: add f2fs/compress config
  2022-11-29  7:35 [f2fs-dev] [xfstests-bld PATCH] test_appliance: add f2fs/compress config Eric Biggers
@ 2022-11-29 16:51 ` Jaegeuk Kim
  0 siblings, 0 replies; 2+ messages in thread
From: Jaegeuk Kim @ 2022-11-29 16:51 UTC (permalink / raw)
  To: Eric Biggers; +Cc: Theodore Ts'o, linux-f2fs-devel

On 11/28, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
> 
> 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.
> 
> Signed-off-by: Eric Biggers <ebiggers@google.com>

Acked-by: Jaegeuk Kim <jaegeuk@kernel.org>

Thanks, :)

> ---
>  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
> 
> diff --git a/test-appliance/files/root/fs/f2fs/cfg/all.list b/test-appliance/files/root/fs/f2fs/cfg/all.list
> index bc796ff..90a7a36 100644
> --- a/test-appliance/files/root/fs/f2fs/cfg/all.list
> +++ b/test-appliance/files/root/fs/f2fs/cfg/all.list
> @@ -1,2 +1,3 @@
>  default
>  encrypt
> +compress
> diff --git a/test-appliance/files/root/fs/f2fs/cfg/compress b/test-appliance/files/root/fs/f2fs/cfg/compress
> new file mode 100644
> index 0000000..6f2b954
> --- /dev/null
> +++ b/test-appliance/files/root/fs/f2fs/cfg/compress
> @@ -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"
> -- 
> 2.38.1
> 
> 
> 
> _______________________________________________
> Linux-f2fs-devel mailing list
> Linux-f2fs-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-29 16:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-29  7:35 [f2fs-dev] [xfstests-bld PATCH] test_appliance: add f2fs/compress config Eric Biggers
2022-11-29 16:51 ` Jaegeuk Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.