[lvm-devel] [PATCH 11/11] Fix _remove_mirror_images() to skip AREA_LV

Jun'ichi Nomura j-nomura at ce.jp.nec.com
Fri Jan 11 23:49:46 UTC 2008


Do not remove mirror image on AREA_LV.

If the mirror image LV consists of AREA_LV, current version
of remove_mirror_images() always remove it ignoring removable_pvs
constraint.
That's not correct.

The FIXME comment suggests recursing down the AREA_LV.
However, it might not be sufficient if we can have LVs with
different structure.

Currently, we won't hit this check.
So just leave it for safety side.

-- 
Jun'ichi Nomura, NEC Corporation of America
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-remove_mirror_images-dont-remove-stacked-mirror.patch
Type: text/x-patch
Size: 1048 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20080111/4e8342fa/attachment.bin>


More information about the lvm-devel mailing list