[lvm-devel] [PATCH 8/11] Allow "mirror" segment with only 1 area

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


Allow "mirror" segment with only 1 area.

As a transitional state, "mirror" segment with only 1 area makes sense
for keeping mirror specific parameters (log_lv, region_size) in metadata.

The segment handler already has a code to add "linear" target line
for table. (see MIRR_DISABLED)

Codes to get copy percent have to consider the segment is in-sync
if area_count is 1.

-- 
Jun'ichi Nomura, NEC Corporation of America
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allow-1way-mirror-seg.patch
Type: text/x-patch
Size: 1990 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20080111/c7d0c283/attachment.bin>


More information about the lvm-devel mailing list