]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs/253: skip on zoned mode as we cannot change the chunk size
authorNaohiro Aota <naohiro.aota@wdc.com>
Tue, 26 Jul 2022 07:57:59 +0000 (16:57 +0900)
committerZorro Lang <zlang@kernel.org>
Sun, 31 Jul 2022 14:06:05 +0000 (22:06 +0800)
commit2925f3b7f7738f85aabef4e8fe02f257fce0b786
tree89a06ede2c4dec564ffd6188cfb3589a658a1fd2
parent8a74eaaebe2a3e24b17a0ca08bea87bac2766908
btrfs/253: skip on zoned mode as we cannot change the chunk size

On zoned mode, we have a fixed chunk size which is equal to the zone size.
So, we cannot change the chunk size, and running this test results in a
failure with below.

    --- tests/btrfs/253.out     2021-12-10 04:33:53.000000000 +0000
    +++ /host/results/btrfs/253.out.bad 2022-07-26 05:58:10.000000000 +0000
    @@ -2,9 +2,16 @@
     Capture default chunk sizes.
     First allocation.
     Second allocation.
    +./common/rc: line 4670: echo: write error: Invalid argument
    +./common/rc: line 4670: echo: write error: Invalid argument
     Calculate request size so last memory allocation cannot be completely fullfilled.
     Third allocation.
    ...

It is no use to test this feature on zoned mode. So, just skip it.

Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/253