* [PATCH 1/2] Turn off MIRROR_IMAGE flag
@ 2008-02-21 17:04 Jun'ichi Nomura
0 siblings, 0 replies; only message in thread
From: Jun'ichi Nomura @ 2008-02-21 17:04 UTC (permalink / raw)
To: lvm-devel
This patch is a prepartion for the next patch.
In _remove_mirror_images(), if the LV becomes a linear,
the mirror layer is removed.
Since the layer LV is no longer a mirror image,
flags set for mirror image should be turned off.
The next patch will add a call to lv_empty() in
remove_layer_from_lv().
Since lv_empty() works recursively for mirror images,
it is necessary to turn off MIRROR_IMAGE before
remove_layer_from_lv() where we don't want lv_empty()
to work recursively.
Thanks,
--
Jun'ichi Nomura, NEC Corporation of America
-------------- next part --------------
A non-text attachment was scrubbed...
Name: release-temporary-mirror-image-before-layer-removal.patch
Type: text/x-patch
Size: 783 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20080221/d58dfaef/attachment.bin>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-21 17:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-21 17:04 [PATCH 1/2] Turn off MIRROR_IMAGE flag 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.