1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-03 17:47:44 +03:00
Jonathan Earl Brassow 68c31a2a36 Fix for bz608048 from Taka...
The same region size is used for both mirror volume and mirrored
log volume, but when the physical extent size is bigger than region size,
the size of mirror leg for mirrored log is smaller than the region size
and lvcreate command fails.

This patch adjusts a region size of mirrored log to a smaller value of
region size or physical extent size.

[This patch ensures that the region_size of the mirrored log does not
exceed the size of the mirrored log itself, which would violate the
kernel constraint: (region_size <= ti->len).]

Signed-off-by: Takahiro Yasui <takahiro.yasui@hds.com>
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
2010-06-28 14:19:41 +00:00
..
2010-05-19 11:52:21 +00:00
2010-05-06 10:07:46 +00:00
2010-05-06 10:07:46 +00:00
2010-06-28 14:19:41 +00:00
2010-06-03 13:50:26 +00:00
2010-06-24 08:29:30 +00:00
2010-05-06 10:07:46 +00:00
2010-05-21 12:36:30 +00:00