]> git.ipfire.org Git - thirdparty/libvirt.git/commit
logical: Use 'stripes' value for mirror/raid segtype
authorJohn Ferlan <jferlan@redhat.com>
Mon, 1 Feb 2016 14:59:44 +0000 (09:59 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 2 Feb 2016 18:13:01 +0000 (13:13 -0500)
commitc6d526f33f0a46bea122cf0a6e61be73294502e7
treed1b140576bd6cc8817da2b2e0ceec552bfc21647
parent69267756d08adbc2f82cd0a9dab12f953ad71435
logical: Use 'stripes' value for mirror/raid segtype

The 'stripes' value is described as the "Number of stripes or mirrors in
a logical volume". So add "mirror" and anything that starts with "raid"
to the list of segtypes that can have an 'nextents' value greater than one.
Use of raid segtypes (raid1, raid4, raid5*, raid6*, and raid10) is favored
over mirror in more recent lvm code.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/storage/storage_backend_logical.c