Blame SOURCES/0087-t6100-mdraid-partitions-Use-v0.90-metadata-for-the-t.patch

0cb0b9
From 784d8ff89e1771a5592b38989f5253fa53536cba Mon Sep 17 00:00:00 2001
0cb0b9
From: "Brian C. Lane" <bcl@redhat.com>
0cb0b9
Date: Mon, 23 Jul 2018 16:07:40 -0700
0cb0b9
Subject: [PATCH] t6100--mdraid-partitions: Use v0.90 metadata for the test
0cb0b9
0cb0b9
Newer metadata types use more disk space, causing the test to fail.
0cb0b9
---
0cb0b9
 tests/t6100-mdraid-partitions.sh | 4 ++--
0cb0b9
 1 file changed, 2 insertions(+), 2 deletions(-)
0cb0b9
0cb0b9
diff --git a/tests/t6100-mdraid-partitions.sh b/tests/t6100-mdraid-partitions.sh
0cb0b9
index dbb1686..f051589 100755
0cb0b9
--- a/tests/t6100-mdraid-partitions.sh
0cb0b9
+++ b/tests/t6100-mdraid-partitions.sh
0cb0b9
@@ -45,8 +45,8 @@ cleanup_fn_() {
0cb0b9
   mdadm -S $md_dev || warn_ "Failed to stop MD array, $md_dev"
0cb0b9
 }
0cb0b9
 
0cb0b9
-# create mdraid on top of both partitions
0cb0b9
-mdadm -C $md_dev --force -R -l1 -n2 "${scsi_dev}1" "${scsi_dev}2"
0cb0b9
+# create mdraid on top of both partitions with v0.90 metadata
0cb0b9
+mdadm -C $md_dev -e0 --force -R -l1 -n2 "${scsi_dev}1" "${scsi_dev}2"
0cb0b9
 
0cb0b9
 # create gpt and two partitions on the raid device
0cb0b9
 parted -s $md_dev mklabel gpt \
0cb0b9
-- 
0cb0b9
2.17.1
0cb0b9