mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: do not use noudevsync with udev system
Remove --noudevsync option - as this breaks synchronization with udev which is necessary when trying to i.e. create _rmeta_3 and wipe it - as the symlinks must be present for wiping. So if there was some other issue (behind the comment) - we need to check for the problem elsewhere instead of disabling udev sync.
This commit is contained in:
parent
45344262cc
commit
75907f0e80
@ -157,8 +157,7 @@ function _reshape_layout
|
|||||||
|
|
||||||
stripes=$(_total_stripes $raid_type $data_stripes)
|
stripes=$(_total_stripes $raid_type $data_stripes)
|
||||||
|
|
||||||
# Avoid random udev sync delays causing _check_size to be unreliable
|
lvconvert -y --ty $raid_type --stripes $data_stripes $opts $vg/$lv
|
||||||
lvconvert -y --noudevsync --ty $raid_type --stripes $data_stripes $opts $vg/$lv
|
|
||||||
check lv_first_seg_field $vg/$lv1 segtype "$raid_type"
|
check lv_first_seg_field $vg/$lv1 segtype "$raid_type"
|
||||||
|
|
||||||
if [ $wait_for_reshape -eq 1 ]
|
if [ $wait_for_reshape -eq 1 ]
|
||||||
|
Loading…
Reference in New Issue
Block a user