On Thu, Sep 4, 2025 at 7:39 PM Eric Biggers <ebigg...@kernel.org> wrote:
> Apparently this is for f2fs.  There isn't really any such thing as a
> "compressed filesystem" for f2fs.  Rather, f2fs supports compression on
> a per-file basis: the filesystem can contain a mix of compressed and
> uncompressed files.  Probably you used 'compression_extension=*', which
> caused f2fs to automatically enable compression on the files that
> xfstests created, which caused the test failure.  But that behavior is
> specific to 'compress_extension=*', not to compression support per se.
>

Yes, I used "compression_extension=*" in my tests.

> But also, we don't really need to skip these tests.  Instead, how about
> using 'chattr +m' to explicitly set the test file to uncompressed?

I tried that and "chattr +m" does not work as it tries to
simultaneously set 2 mutually exclusive compression flags (FS_COMPR_FL
and FS_NOCOMP_FL). However, "chattr -c" on an empty file works, so let
me post a v2 attempt shortly.

Thanks!
Jan


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

Reply via email to