]> sourceware.org Git - lvm2.git/commitdiff
Re-enable t-lvconvert-repair-transient, avoiding the deadlock by running mkfs
authorPetr Rockai <prockai@redhat.com>
Wed, 5 Jan 2011 14:15:01 +0000 (14:15 +0000)
committerPetr Rockai <prockai@redhat.com>
Wed, 5 Jan 2011 14:15:01 +0000 (14:15 +0000)
asynchronously.

test/t-lvconvert-repair-transient.sh

index 7ffc9c391b86f000515f89cdf842f0e544aad46f..804b150c36228e91aeed0646d7bbd4d26b4a2a3c 100644 (file)
 
 . lib/test
 
-exit 200 # this breaks upstream .33 and RHEL6 kernel :(
-
 aux prepare_vg 5
 
-# fail multiple devices
-
 lvcreate -m 3 --ig -L 1 -n 4way $vg
 aux disable_dev $dev2 $dev4
-mkfs.ext3 $DM_DEV_DIR/$vg/4way
+mkfs.ext3 $DM_DEV_DIR/$vg/4way &
+sleep 1
 aux enable_dev $dev2 $dev4
 echo n | lvconvert --repair $vg/4way 2>&1 | tee 4way.out
 lvs -a -o +devices | not grep unknown
 vgreduce --removemissing $vg
 check mirror $vg 4way
 lvchange -a n $vg/4way
+wait
This page took 0.041629 seconds and 5 git commands to generate.