[lvm-devel] [LVM2 PATCH] (2/5) Fix lvconvert to pass correct parameter to allocate_extents()

Jun'ichi Nomura j-nomura at ce.jp.nec.com
Tue Aug 21 21:25:01 UTC 2007


This patch fixes lvconvert_mirrors() to pass correct set of
parameters to allocate_extents().

It used to pass (length of LV * number of mirrors) as 'extents'
parameter of allocate_extents().

Though the parameter was wrong, the allocation function somehow
worked because it also passed segtype "striped" instead of "mirror".

Thanks,
-- 
Jun'ichi Nomura, NEC Corporation of America
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm2-lvconvert-fix-wrong-parameter-to-allocator.patch
Type: text/x-patch
Size: 3115 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20070821/66811d8b/attachment.bin>


More information about the lvm-devel mailing list