1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 20:25:52 +03:00
lvm2/test
Petr Rockai 6d25c0d26f Fix RHBZ 651590 (failure to lock LV results in failure to repair mirror after
transient error), stemming from the following sequence of events:

1) devices fail IO, triggering repair
2) dmeventd starts fixing up the mirror
3) during the downconversion, a new metadata version is written

--> the devices come back online here

4) the mirror device suspend/resume is called to update DM tables
5) during the suspend/resume cycle, *pre*-commit metadata is read;
   however, since the failed devices are now back online, we get back
   inconsistent set of precommit metadata and the whole operation fails

The patch relaxes the check that fails in step 5 above, namely by ignoring
inconsistencies coming from PVs that are marked MISSING.
2011-06-15 17:45:02 +00:00
..
api Fix kernel version parsing in tests, use common function. 2011-06-09 18:58:00 +00:00
lib Fix kernel version test (RHEL: 2.6.32-123). 2011-06-09 19:48:26 +00:00
.gitignore Add testing framework, along with first few tests. 2007-09-18 14:00:42 +00:00
Makefile.in Add missing cleanup for vgimportclone script 2011-04-28 22:17:06 +00:00
t-000-basic.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-activate-missing.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-activate-partial.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-covercmd.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-dmeventd-restart.sh As requested in BZ 454618: 2011-03-02 12:49:13 +00:00
t-fsadm.sh Skip sysinit test for cluster 2011-01-31 22:05:30 +00:00
t-inconsistent-metadata.sh Lower disk space usage of inconsistent mda test 2011-01-28 16:13:39 +00:00
t-listings.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-lock-blocking.sh Make the lock test a little bit better... 2011-03-04 15:04:08 +00:00
t-lvchange-mirror.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-lvconvert-mirror-basic-0.sh add copyright notices to new files 2010-07-28 12:20:38 +00:00
t-lvconvert-mirror-basic-1.sh add copyright notices to new files 2010-07-28 12:20:38 +00:00
t-lvconvert-mirror-basic-2.sh add copyright notices to new files 2010-07-28 12:20:38 +00:00
t-lvconvert-mirror-basic-3.sh add copyright notices to new files 2010-07-28 12:20:38 +00:00
t-lvconvert-mirror-basic.sh Do not echo y to lvconvert 2011-03-03 12:30:33 +00:00
t-lvconvert-mirror.sh Fix mirrored stripe reduction. 2011-06-09 19:38:56 +00:00
t-lvconvert-repair-dmeventd.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-lvconvert-repair-policy.sh Make the mirror log checks in t-lvconvert-repair-policy a bit more strict 2011-04-12 12:39:24 +00:00
t-lvconvert-repair-replace.sh Use backward compatible configuration for test 2011-02-28 19:44:21 +00:00
t-lvconvert-repair-snapshot.sh Use backward compatible configuration for test 2011-02-28 19:44:21 +00:00
t-lvconvert-repair-transient-dmeventd.sh Fix RHBZ 651590 (failure to lock LV results in failure to repair mirror after 2011-06-15 17:45:02 +00:00
t-lvconvert-repair-transient.sh Re-enable t-lvconvert-repair-transient, avoiding the deadlock by running mkfs 2011-01-05 14:15:01 +00:00
t-lvconvert-repair.sh Use backward compatible configuration for test 2011-02-28 19:44:21 +00:00
t-lvconvert-twostep.sh Add disk to mirrored log type conversion. 2011-01-11 17:05:08 +00:00
t-lvcreate-mirror.sh Use backward compatible configuration for test 2011-02-28 19:44:21 +00:00
t-lvcreate-operation.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-lvcreate-pvtags.sh Use backward compatible configuration for test 2011-02-28 19:44:21 +00:00
t-lvcreate-small-snap.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-lvcreate-usage.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-lvextend-percent-extents.sh Fix extent rounding for striped segments. 2011-06-09 19:34:49 +00:00
t-lvextend-snapshot-dmeventd.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-lvextend-snapshot-policy.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-lvm-init.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-lvmcache-exercise.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-lvresize-mirror.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-lvresize-usage.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-mdata-strings.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-metadata-balance.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-metadata-dirs.sh Add a test for RHBZ 640621 (metadata/dirs + no PV MDAs broken). 2011-01-05 01:00:34 +00:00
t-metadata.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-mirror-names.sh Testing: remove -q from grep 2011-03-30 13:39:24 +00:00
t-mirror-vgreduce-removemissing.sh Rewrite vgreduce --removemissing --force, using existing primitives: 2011-05-07 15:52:16 +00:00
t-nomda-missing.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-pool-labels.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-pv-duplicate.sh Fix use of released vgname and vgid 2011-04-21 13:13:40 +00:00
t-pv-min-size.sh Replace PV_MIN_SIZE with function pv_min_size() 2011-02-18 14:11:22 +00:00
t-pv-range-overflow.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-pvchange-usage.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-pvcreate-metadata0.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-pvcreate-operation-md.sh Fix kernel version parsing in tests, use common function. 2011-06-09 18:58:00 +00:00
t-pvcreate-operation.sh Testing: remove -q from grep 2011-03-30 13:39:24 +00:00
t-pvcreate-usage.sh Fix test for 8k page (fails on Sparc architecture). 2011-03-06 18:28:09 +00:00
t-pvmove-basic.sh Lower device size of pvmove test 2011-01-28 16:15:08 +00:00
t-pvremove-usage.sh Fix test, "echo n" is not needed when -y is specified. 2011-03-03 14:16:08 +00:00
t-read-ahead.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-snapshot-autoumount-dmeventd.sh Fix test to use explicit /dev/mapper/ node, /proc/mounts should not change this... 2011-03-02 13:49:29 +00:00
t-snapshot-merge.sh Testing: remove -q from grep 2011-03-30 13:39:24 +00:00
t-snapshots-of-mirrors.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-tags.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-test-partition.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-topology-support.sh Fix topology test. 2011-06-09 14:26:47 +00:00
t-unknown-segment.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-unlost-pv.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-vgcfgbackup-usage.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-vgchange-maxlv.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-vgchange-sysinit.sh Skip sysinit test for cluster 2011-01-31 22:05:30 +00:00
t-vgchange-usage.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-vgcreate-usage.sh Testing: remove -q from grep 2011-03-30 13:39:24 +00:00
t-vgextend-restoremissing.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-vgextend-usage.sh Testing: remove -q from grep 2011-03-30 13:39:24 +00:00
t-vgimportclone.sh Disable nightly test for vgimportclone until proper fix is made. 2011-04-21 19:06:00 +00:00
t-vgmerge-operation.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-vgmerge-usage.sh Reduce amount of vgremove and vgchange calls 2011-03-28 11:35:20 +00:00
t-vgreduce-removemissing-snapshot.sh Rewrite vgreduce --removemissing --force, using existing primitives: 2011-05-07 15:52:16 +00:00
t-vgreduce-usage.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-vgrename-usage.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-vgsplit-operation.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-vgsplit-stacked.sh Substantial rework of the functional test support code. Some new features: 2011-01-05 00:16:18 +00:00
t-vgsplit-usage.sh Reduce amount of vgremove and vgchange calls 2011-03-28 11:35:20 +00:00