From: Naohiro Aota Date: Tue, 26 Jul 2022 07:57:59 +0000 (+0900) Subject: btrfs/253: skip on zoned mode as we cannot change the chunk size X-Git-Tag: v2022.07.31~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2925f3b7f7738f85aabef4e8fe02f257fce0b786;p=xfstests-dev.git 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 Reviewed-by: Zorro Lang Signed-off-by: Zorro Lang --- diff --git a/tests/btrfs/253 b/tests/btrfs/253 index fbbb81fa..c746f41e 100755 --- a/tests/btrfs/253 +++ b/tests/btrfs/253 @@ -81,6 +81,8 @@ alloc_size() { _supported_fs btrfs _require_test _require_scratch +# The chunk size on zoned mode is fixed to the zone size +_require_non_zoned_device "$SCRATCH_DEV" # Delete log file if it exists. rm -f "${seqres}.full"