]> sourceware.org Git - lvm2.git/commit
Adjusted mirror region size only for mirrors and raids
authorZdenek Kabelac <zkabelac@redhat.com>
Tue, 15 Nov 2011 17:32:12 +0000 (17:32 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 15 Nov 2011 17:32:12 +0000 (17:32 +0000)
commit91e45126194cf837854476329221e7b1570eb65b
treebd1f3fa407ffba45e8743e70f293c00422f8dbcf
parent5f129d15b11c4c956743f67a604f00fc72a9110e
Adjusted mirror region size only for mirrors and raids

Update region_size only for mirror and raid targets.
This fixes warning messages when vg is using small
extent size like 1KiB and no mirror/raid is created,
but the user still got the message:

$> vgcreate -s 1K vg  <pvs>
$> lvcreate -L10K vg
Using reduced mirror region size of 4 sectors
WHATS_NEW
lib/metadata/lv_manip.c
This page took 0.035218 seconds and 5 git commands to generate.