[lvm-devel] [PATCH mirror 6/13] Count the correct number of mirror images

Jun'ichi Nomura j-nomura at ce.jp.nec.com
Thu Nov 22 02:09:17 UTC 2007


If temporary mirror layers are inserted, you can't get
the number of mirror images by seg->area_count.

The patch adds a function to recursively sum up the number
of mirror images.
Used later by lvconvert and reporting functions.

Thanks,
-- 
Jun'ichi Nomura, NEC Corporation of America

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm2-stacked-mirror-count-legs.patch
Type: text/x-patch
Size: 1561 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20071121/539d1cd3/attachment.bin>


More information about the lvm-devel mailing list