aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2023-07-24 11:04:23 +0800
committerZorro Lang <zlang@kernel.org>2023-08-05 00:00:02 +0800
commite573069170b6928e4fc68b5d4074d1a6b2681736 (patch)
treee4a920715dcba5343cde206a6c21bbd6e4ca02fd
parent32201166fb096fb5606799c591775bd6c07fc7fa (diff)
downloadxfstests-dev-e573069170b6928e4fc68b5d4074d1a6b2681736.tar.gz
btrfs/294: reject zoned devices for now
The test case itself is utilizing RAID5/6, which is not yet supported on zoned device. In the future we would use raid-stripe-tree (RST) feature, but for now just reject zoned devices completely. And since we're here, also update the _fixed_by_kernel_commit lines, as the proper fix is already merged upstream. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Naohiro Aota <naohiro.aota@wdc.com> Reviewed-by: Zorro Lang <zlang@redhat.com> Signed-off-by: Zorro Lang <zlang@kernel.org>
-rwxr-xr-xtests/btrfs/2948
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/btrfs/294 b/tests/btrfs/294
index 61ce7d978c..d7d13646f5 100755
--- a/tests/btrfs/294
+++ b/tests/btrfs/294
@@ -16,11 +16,15 @@ _begin_fstest auto raid volume
# Modify as appropriate.
_supported_fs btrfs
+
+# No zoned support for RAID56 yet.
+_require_non_zoned_device "${SCRATCH_DEV}"
+
_require_scratch_dev_pool 8
_fixed_by_kernel_commit a7299a18a179 \
"btrfs: fix u32 overflows when left shifting @stripe_nr"
-_fixed_by_kernel_commit xxxxxxxxxxxx \
- "btrfs: use a dedicated helper to convert stripe_nr to offset"
+_fixed_by_kernel_commit cb091225a538 \
+ "btrfs: fix remaining u32 overflows when left shifting stripe_nr"
_scratch_dev_pool_get 8