Re: [PATCH 1/3] fstests: check btrfs profile configs before allowing raid56

Christoph Hellwig
2024-03-21T21:37:43Z

On Wed, Mar 20, 2024 at 10:40:19AM -0400, Josef Bacik wrote:
> The tests that use this are testing them both. I could make them optionally
> test one or the other depending on the profile you had set, but I don't think
> this is particularly useful. If you have strong feelings about it I could
> alternatively add a helper that is
>
> _require_raid_profile "profile name"
>
> and then add those to the different tests to be more fine grained about it,
> since technically this helper is about checking if a specific kernel feature is
> available. Thanks,

That seems a bit more useful, but it looks like others have even
better idea here in the thread, so I'll shut up.