[lvm-devel] master - tests: fix raid repair tests to work with older target versions

Heinz Mauelshagen mauelsha at fedoraproject.org
Thu Sep 22 15:28:45 UTC 2016


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=5282450520c40a8d2431ab60ccc80dcaffc9c05d
Commit:        5282450520c40a8d2431ab60ccc80dcaffc9c05d
Parent:        38a6a39daa2967970da0017ac96e40af1c7fbc7b
Author:        Heinz Mauelshagen <heinzm at redhat.com>
AuthorDate:    Thu Sep 22 17:28:20 2016 +0200
Committer:     Heinz Mauelshagen <heinzm at redhat.com>
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(-)

diff --git a/WHATS_NEW b/WHATS_NEW
index aedacee..e22e606 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -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)




More information about the lvm-devel mailing list