From 0e4ffd9d3b9cc8bf88662e3a0d023602360c6993 Mon Sep 17 00:00:00 2001 From: Jonathan Brassow Date: Wed, 20 Feb 2013 14:40:17 -0600 Subject: clean-up: Rename lvm.conf setting 'mirror_region_size' to 'raid_region_size' We have been using 'mirror_region_size' in lvm.conf as the default region size for RAID logical volumes as well as mirror logical volumes. Since, "raid" is more inclusive and representative than "mirror", I have changed the name of this setting. We must still check for the old setting and warn the user if we are overriding it with the new setting if both happen to be present. --- doc/example.conf.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/example.conf.in b/doc/example.conf.in index 256e01278..a1ba5f83a 100644 --- a/doc/example.conf.in +++ b/doc/example.conf.in @@ -637,8 +637,12 @@ activation { # # read_only_volume_list = [ "vg1", "vg2/lvol1", "@tag1", "@*" ] - # Size (in KB) of each copy operation when mirroring - mirror_region_size = 512 + # For RAID or 'mirror' segment types, 'raid_region_size' is the + # size (in kiB) of each: + # - synchronization operation when initializing + # - each copy operation when performing a 'pvmove' (using 'mirror' segtype) + # This setting has replaced 'mirror_region_size' since version 2.02.99 + raid_region_size = 512 # Setting to use when there is no readahead value stored in the metadata. # -- cgit v1.2.1