Re: [LTP] [PATCH v2 3/3] statx04: Skip STATX_ATTR_COMPRESSED on Bcachefs

Li Wang
2024-01-04T03:32:49Z

Hi Kent,

On Wed, Dec 13, 2023 at 10:55 AM Kent Overstreet <kent.overstreet@linux.dev>
wrote:

> On Thu, Dec 07, 2023 at 08:40:11PM +0100, Petr Vorel wrote:
> > STATX_ATTR_COMPRESSED is not supported on Bcachefs, thus skip it
> > (it's already skipped on tmpfs and XFS).
>
> Hang on, bcachefs most definitely does hae compression. This would be
> just because statx isn't plumbed through?
>

Seems not, I guess that is only because bcachefs doesn't support the flag
in bch2_getattr()?

see: https://elixir.bootlin.com/linux/v6.7-rc8/source/fs/bcachefs/fs.c#L741

--
Regards,
Li Wang