dcavalca / rpms / mdadm

Forked from rpms/mdadm 3 years ago
Clone

Blame SOURCES/0040-Don-t-need-to-check-recovery-after-re-add-when-no-I-.patch

f5dd7b
From 611093148574164fcf4f24f8c076d09473f655d7 Mon Sep 17 00:00:00 2001
f5dd7b
From: Xiao Ni <xni@redhat.com>
f5dd7b
Date: Mon, 30 Sep 2019 19:48:00 +0800
f5dd7b
Subject: [RHEL7.8 PATCH V2 40/47] Don't need to check recovery after re-add
f5dd7b
 when no I/O writes to raid
f5dd7b
f5dd7b
If there is no write I/O between removing member disk and re-add it, there is no
f5dd7b
recovery after re-adding member disk.
f5dd7b
f5dd7b
Signed-off-by: Xiao Ni <xni@redhat.com>
f5dd7b
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
f5dd7b
---
f5dd7b
 clustermd_tests/02r1_Manage_re-add | 2 --
f5dd7b
 1 file changed, 2 deletions(-)
f5dd7b
f5dd7b
diff --git a/clustermd_tests/02r1_Manage_re-add b/clustermd_tests/02r1_Manage_re-add
f5dd7b
index dd9c416..d0d13e5 100644
f5dd7b
--- a/clustermd_tests/02r1_Manage_re-add
f5dd7b
+++ b/clustermd_tests/02r1_Manage_re-add
f5dd7b
@@ -9,8 +9,6 @@ check all state UU
f5dd7b
 check all dmesg
f5dd7b
 mdadm --manage $md0 --fail $dev0 --remove $dev0
f5dd7b
 mdadm --manage $md0 --re-add $dev0
f5dd7b
-check $NODE1 recovery
f5dd7b
-check all wait
f5dd7b
 check all state UU
f5dd7b
 check all dmesg
f5dd7b
 stop_md all $md0
f5dd7b
-- 
f5dd7b
2.7.5
f5dd7b