mbox series

[v3,0/3] fstests: btrfs: add test for zoned balance profile conversion bug

Message ID 20240215-balance-fix-v3-0-79df5d5a940f@wdc.com (mailing list archive)
Headers show
Series fstests: btrfs: add test for zoned balance profile conversion bug | expand

Message

Johannes Thumshirn Feb. 15, 2024, 11:47 a.m. UTC
Recently we had a report, that a zoned filesystem can be converted to a
RAID although the RAID stripe tree feature was not enabled.

Add a regression test for the fix commit.

---
Johannes Thumshirn (3):
      filter.brtfs: add filter for conversion
      filter.btrfs: add filter for btrfs device add
      fstests: btrfs: check conversion of zoned fileystems

 common/filter.btrfs | 15 ++++++++++++
 tests/btrfs/310     | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/btrfs/310.out | 12 ++++++++++
 3 files changed, 94 insertions(+)
---
base-commit: 5d761594fc5832d6d940f113b811157e332e14af
change-id: 20240215-balance-fix-6bd7998efad0

Best regards,

Comments

Johannes Thumshirn Feb. 26, 2024, 11:53 a.m. UTC | #1
On 15.02.24 12:47, Johannes Thumshirn wrote:
> Recently we had a report, that a zoned filesystem can be converted to a
> RAID although the RAID stripe tree feature was not enabled.
> 
> Add a regression test for the fix commit.
> 
> ---
> Johannes Thumshirn (3):
>        filter.brtfs: add filter for conversion
>        filter.btrfs: add filter for btrfs device add
>        fstests: btrfs: check conversion of zoned fileystems
> 
>   common/filter.btrfs | 15 ++++++++++++
>   tests/btrfs/310     | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++
>   tests/btrfs/310.out | 12 ++++++++++
>   3 files changed, 94 insertions(+)
> ---
> base-commit: 5d761594fc5832d6d940f113b811157e332e14af
> change-id: 20240215-balance-fix-6bd7998efad0
> 
> Best regards,

Anand, Zoro, Ping?
Anand Jain Feb. 26, 2024, 12:52 p.m. UTC | #2
On 2/26/24 17:23, Johannes Thumshirn wrote:
> On 15.02.24 12:47, Johannes Thumshirn wrote:
>> Recently we had a report, that a zoned filesystem can be converted to a
>> RAID although the RAID stripe tree feature was not enabled.
>>
>> Add a regression test for the fix commit.
>>
>> ---
>> Johannes Thumshirn (3):
>>         filter.brtfs: add filter for conversion
>>         filter.btrfs: add filter for btrfs device add
>>         fstests: btrfs: check conversion of zoned fileystems
>>
>>    common/filter.btrfs | 15 ++++++++++++
>>    tests/btrfs/310     | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++
>>    tests/btrfs/310.out | 12 ++++++++++
>>    3 files changed, 94 insertions(+)
>> ---
>> base-commit: 5d761594fc5832d6d940f113b811157e332e14af
>> change-id: 20240215-balance-fix-6bd7998efad0
>>
>> Best regards,
> 
> Anand, Zoro, Ping?

Yes, I'm looking into it. I'll update you soon. Thanks.
Zorro Lang Feb. 27, 2024, 1:14 p.m. UTC | #3
On Thu, Feb 15, 2024 at 03:47:03AM -0800, Johannes Thumshirn wrote:
> Recently we had a report, that a zoned filesystem can be converted to a
> RAID although the RAID stripe tree feature was not enabled.
> 
> Add a regression test for the fix commit.
> 
> ---
> Johannes Thumshirn (3):
>       filter.brtfs: add filter for conversion
>       filter.btrfs: add filter for btrfs device add

Actually these two filters are added for the 3rd patch, so these 3 patches
can be in one patch, don't need one patch one helper. Anyway 3 patches are
good to me too, if you prefer that.

Thanks,
Zorro

>       fstests: btrfs: check conversion of zoned fileystems
> 
>  common/filter.btrfs | 15 ++++++++++++
>  tests/btrfs/310     | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++
>  tests/btrfs/310.out | 12 ++++++++++
>  3 files changed, 94 insertions(+)
> ---
> base-commit: 5d761594fc5832d6d940f113b811157e332e14af
> change-id: 20240215-balance-fix-6bd7998efad0
> 
> Best regards,
> -- 
> Johannes Thumshirn <johannes.thumshirn@wdc.com>
>