[lvm-devel] [PATCH] Fix _mimagetmp left activated after upconversion of inactive mirrored LV

Milan Broz mbroz at redhat.com
Thu Oct 23 07:45:52 UTC 2008


Jun'ichi Nomura wrote:
>> commit e36b529d7381725e839befcf001e9453eda6886a
>> Author: Alasdair Kergon <agk at redhat.com>
>> Date:   Fri Oct 17 10:57:14 2008 +0000
>>
>>     Use temp table to set device size when converting mirrors.
>>     
>>     (Avoids having same mirror table loaded twice concurrently by first
>>     using a 'zero' table to set the size of the device so when mirror
>>     table is preloaded it doesn't have to be activated immediately.)
> 
> This change broke t-mirror-vgreduce-removemissing.sh test.

Hi,

yes, it broke tests and not only this test. There is already patch,
but unfortunately not yet in CVS/git...

This commit also introduced using zero target, which is not guaranteed
to be properly initialized there (try to run without dm_zero loaded),
so new patch also uses error target instead for temporary mapping.


Thanks,
Milan




More information about the lvm-devel mailing list