* [LVM2 PATCH] (2/5) Fix lvconvert to pass correct parameter to allocate_extents()
@ 2007-08-21 21:25 Jun'ichi Nomura
2007-08-22 19:35 ` Alasdair G Kergon
0 siblings, 1 reply; 2+ messages in thread
From: Jun'ichi Nomura @ 2007-08-21 21:25 UTC (permalink / raw)
To: lvm-devel
This patch fixes lvconvert_mirrors() to pass correct set of
parameters to allocate_extents().
It used to pass (length of LV * number of mirrors) as 'extents'
parameter of allocate_extents().
Though the parameter was wrong, the allocation function somehow
worked because it also passed segtype "striped" instead of "mirror".
Thanks,
--
Jun'ichi Nomura, NEC Corporation of America
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm2-lvconvert-fix-wrong-parameter-to-allocator.patch
Type: text/x-patch
Size: 3115 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20070821/66811d8b/attachment.bin>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [LVM2 PATCH] (2/5) Fix lvconvert to pass correct parameter to allocate_extents()
2007-08-21 21:25 [LVM2 PATCH] (2/5) Fix lvconvert to pass correct parameter to allocate_extents() Jun'ichi Nomura
@ 2007-08-22 19:35 ` Alasdair G Kergon
0 siblings, 0 replies; 2+ messages in thread
From: Alasdair G Kergon @ 2007-08-22 19:35 UTC (permalink / raw)
To: lvm-devel
On Tue, Aug 21, 2007 at 05:25:01PM -0400, Jun'ichi Nomura wrote:
> This patch fixes lvconvert_mirrors() to pass correct set of
> parameters to allocate_extents().
lvcreate and lvextend do this correctly as intended.
lvconvert (the new code) should do things the same way as those existing
callers.
Alasdair
--
agk at redhat.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-22 19:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-21 21:25 [LVM2 PATCH] (2/5) Fix lvconvert to pass correct parameter to allocate_extents() Jun'ichi Nomura
2007-08-22 19:35 ` Alasdair G Kergon
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.