All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/4] lvconvert to refuse mirror addition to 'nosync' LV
@ 2007-12-22  1:23 Jun'ichi Nomura
  0 siblings, 0 replies; only message in thread
From: Jun'ichi Nomura @ 2007-12-22  1:23 UTC (permalink / raw)
  To: lvm-devel

LVM2 will not do initial syncing of mirrors if the LV
is created with '--nosync' option.
(Such LV is shown as 'M' in the first character of Attr field.)
Writes after the LV creation will go to all mirrors.

The option might be useful if admin wants to avoid syncing I/O
at the time.

However, if lvconvert adds a new mirror to such LV,
we can't skip syncing. Otherwise, mirrors are kept out-of-sync
and makes no sense.

This patch changes lvconvert to check the LV status and
refuse mirror addition if the LV is 'nosync'.

Thanks,
-- 
Jun'ichi Nomura, NEC Corporation of America
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvconvert-refuse-add-mirror-to-nosync-lv.patch
Type: text/x-patch
Size: 1849 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20071221/b5d88ebc/attachment.bin>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-22  1:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-22  1:23 [PATCH 2/4] lvconvert to refuse mirror addition to 'nosync' LV Jun'ichi Nomura

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.