All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] Fix '--nosync' option of lvcreate and remove unnecessary tag collection
@ 2007-12-22  1:22 Jun'ichi Nomura
  0 siblings, 0 replies; only message in thread
From: Jun'ichi Nomura @ 2007-12-22  1:22 UTC (permalink / raw)
  To: lvm-devel

This patch fixes 2 things.

While converting lvcreate to use the newly added lv_add_mirrors(),
I mistakenly moved the MIRROR_NOTSYNCED flag setting *after*
lv_create_empty().
As a result, '--nosync' option of lvcreate becomes nop.
This patch moves the flag setting and makes nosync option working again.

In the old code, tag list is created and passed for mirror log creation
function because the log was created before the LV.
In the current code, linear LV is created first and the log creation
function takes tag list from the LV. So we don't need to create
tag list in lvcreate.

Thanks,
-- 
Jun'ichi Nomura, NEC Corporation of America
-------------- next part --------------
A non-text attachment was scrubbed...
Name: revive-nosync-option.patch
Type: text/x-patch
Size: 1701 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20071221/e5e7b214/attachment.bin>

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

only message in thread, other threads:[~2007-12-22  1:22 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:22 [PATCH 1/4] Fix '--nosync' option of lvcreate and remove unnecessary tag collection 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.