Skip to contentSkip to conversation

master - tests: fix raid repair tests to work with older target versions

PATCH Heinz Mauelshagen 1 participant 1 message Sep 22, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=5282450520c40a8d2431ab60ccc80dcaffc9c05d
Commit:        5282450520c40a8d2431ab60ccc80dcaffc9c05d
Parent:        38a6a39daa2967970da0017ac96e40af1c7fbc7b
Author:        Heinz Mauelshagen <[email protected]>
AuthorDate:    Thu Sep 22 17:28:20 2016 +0200
Committer:     Heinz Mauelshagen <[email protected]>
CommitterDate: Thu Sep 22 17:28:20 2016 +0200

tests: fix raid repair tests to work with older target versions

Pre 1.8 dm-raid targets status output was racy, which caused the device status chars to be unreliable _during_ synchronization. This shows paritcularly with tiny test devices used.

Enhance lvconvert-repair-raid.sh to not check status chars _during_ synchronization. Just check afterwards.

---
 WHATS_NEW |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
WHATS_NEW +1 -0
index aedacee..e22e606 100644
@@ -1,5 +1,6 @@
 Version 2.02.166 - 
 =====================================
+  Fix lvconvert-repair-raid.sh to cope with older target versions.
   Use dm_config_parse_without_dup_node_check() to speedup metadata reading.
   Fix lvconvert --repair regression
   Fix reported origin lv field for cache volumes. (2.02.133)