[lvm-devel] master - release: prepare for release

Alasdair Kergon agk at fedoraproject.org
Mon Oct 15 14:21:06 UTC 2012


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=ea6a8078b41df75344aecff4c54aab9c78b67193
Commit:        ea6a8078b41df75344aecff4c54aab9c78b67193
Parent:        5afa2ffcaaa69925673b1c0c82ebb3c1f66b1906
Author:        Alasdair G Kergon <agk at redhat.com>
AuthorDate:    Mon Oct 15 15:19:32 2012 +0100
Committer:     Alasdair G Kergon <agk at redhat.com>
CommitterDate: Mon Oct 15 15:19:32 2012 +0100

release: prepare for release

---
 VERSION          |    2 +-
 VERSION_DM       |    2 +-
 WHATS_NEW        |   41 ++++++++++++++++++++++++-----------------
 WHATS_NEW_DM     |    6 +++---
 tools/lvcreate.c |   12 +++++-------
 5 files changed, 34 insertions(+), 29 deletions(-)

diff --git a/VERSION b/VERSION
index 33b5cee..246867e 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.02.98(2)-git (2012-08-24)
+2.02.98(2)-git (2012-10-15)
diff --git a/VERSION_DM b/VERSION_DM
index 171ac28..bb267d5 100644
--- a/VERSION_DM
+++ b/VERSION_DM
@@ -1 +1 @@
-1.02.77-git (2012-08-24)
+1.02.77-git (2012-10-15)
diff --git a/WHATS_NEW b/WHATS_NEW
index b2b7c35..c0ae3df 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,11 +1,12 @@
-Version 2.02.98 -
-=================================
+Version 2.02.98 - 15th October 2012
+===================================
+  Switch from DEBUG() to DEBUGLOG() in lvmetad as -DDEBUG is already used.
   Prohibit not yet supported change of thin-pool to read-only.
   Support creation of read-only thin volumes (lvcreate -p r).
   Using autoextend percent 0 for thin pool fails 'lvextend --use-policies'.
-  Introduce blkdeactivate script.
-  Implement devices/global_filter (affects lvmetad).
-  Make vgscan --cache an alias to pvscan --cache.
+  Introduce blkdeactivate script to deactivate block devs with dependencies.
+  Implement devices/global_filter to hide devices from lvmetad.
+  Make vgscan --cache an alias for pvscan --cache.
   Clear lvmetad metadata/PV cache before a rescan.
   Fix a segmentation fault upon receiving a corrupt lvmetad response.
   Give inconsistent metadata warnings in pvscan --cache.
@@ -13,9 +14,9 @@ Version 2.02.98 -
   Avoid overlapping locks that could cause a deadlock in lvmetad.
   Fix memory leaks in libdaemon and lvmetad.
   Optimize libdaemon logging for a fast no-output path.
-  example.conf: Warn about running lvmetad with use_lvmetad = 0.
   Only create lvmetad pidfile when running as a daemon (no -f).
   Warn if lvmetad is running but disabled.
+  Warn about running lvmetad with use_lvmetad = 0 in example.conf.
   Update lvmetad help output (flags and their meaning).
   Make pvscan --cache read metadata from LVM1 PVs.
   Make libdaemon buffer handling asymptotically more efficient.
@@ -31,25 +32,29 @@ Version 2.02.98 -
   Remove pvscan --cache from lvm2-lvmetad init script.
   Remove ExecStartPost with pvscan --cache from lvm2-lvmetad.service.
   Report invalid percentage for property snap_percent of non-snaphot LVs.
-  Disallow convertion of thins to mirrors.
+  Disallow conversion of thin LVs to mirrors.
   Fix lvm2api data_percent reporting for thin volumes.
   Do not allow RAID LVs in a clustered volume group.
-  Update lvconvert to support stacking of devs for thin meta/data devs.
+  Add --discards to lvconvert.
+  Add --poolmetadata to lvconvert and support thin meta/data dev stacking.
   Support changes of permissions for thin snapshot volumes.
   Enhance insert_layer_for_lv() with recursive rename for _tdata LVs.
   Skip building dm tree for thin pool when called with origin_only flag.
   Add internal lv_rename_update() to rename LV without updating mda.
-  Ensure descriptors 0,1,2 are always available.
-  Use /proc/self/fd for closing openned descriptors.
+  Ensure descriptors 0,1,2 are always available, using /dev/null if necessary.
+  Use /proc/self/fd when available for closing opened descriptors efficiently.
   Add missing pkg init with --enable-testing in configure.in (2.02.71).
   Fix inability to create, extend or convert to a large (> 1TiB) RAID LV.
+  Split out daemon-io from daemon-shared and always build libdaemonclient.
+  Update lvmetad communications to cope with clients using different filters.
   Add (p)artial attribute to lvs.
   Don't try to issue discards to a missing PV to avoid segfault.
   Clear LV_NOSYNCED flag when a RAID1 LV is converted to a linear LV.
   Disallow RAID1 upconvert if the LV was created with --nosync.
   Depend on systemd-udev-settle in units generated by activation generator.
-  Fix vgchange -aay to activate proper logical volumes.
-  Properly handle 'resync' of RAID LVs.
+  Fix vgchange -aay not to activate non-matching LVs that follow a matching LV.
+  Fix lvchange --resync for RAID LVs which had no effect.
+  Restructure mirror resync code.
   Disallow addition of RAID images until the array is in-sync.
   Fix RAID LV creation with '--test' so valid commands do not fail.
   Add lvm_lv_rename() to lvm2api.
@@ -60,20 +65,22 @@ Version 2.02.98 -
   Suppress non-essential stdout with -qq.
   Switch non-essential log_print messages to log_print_unless_silent.
   Use -q as short form of --quiet.
-  Add RAID10 support.
+  Add RAID10 support (--type raid10).
   Reuse _reload_lv() in more lvconvert functions.
+  Fix 32-bit device size arithmetic needing 64-bit casting throughout tree.
+  Remove numerous unnecessary #includes and the empty util.c.
   Fix dereference of NULL in lvmetad error path logging.
   Fix buffer memory leak in lvmetad logging.
-  Use 'ignore' discards for thin metadata created with older versions.
-  Use proper condition to check for unsupported discards settings.
-  Update lvs manpage with discards (2.02.97).
   Add support for lvcreate --discards.
+  Correct the discards field in the lvs manpage (2.02.97).
+  Use proper condition to check for discards settings unsupported by kernel.
+  Reinstate correct default to ignore discards for thin metadata from old tools.
+  Issue error message when -i and -m args do not match specified RAID type.
   Change lvmetad logging syntax from -ddd to -l {all|wire|debug}.
   Add new libdaemon logging infrastructure.
 
 Version 2.02.97 - 7th August 2012
 =================================
-  Issue error message when arguments do not match specified RAID type.
   Improve documention of allocation policies in lvm.8.
   Increase limit for major:minor to 4095:1048575 when using -My option.
   Add make install_systemd_generators.
diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM
index 342605f..2d0b05c 100644
--- a/WHATS_NEW_DM
+++ b/WHATS_NEW_DM
@@ -1,12 +1,12 @@
-Version 1.02.77 -
-=================================
+Version 1.02.77 - 15th October 2012
+===================================
   Support unmount of thin volumes from pool above thin pool threshold.
   Update man page to reflect that dm UUIDs are being mangled as well.
   Apply 'dmsetup mangle' for dm UUIDs besides dm names.
   Add 'mangled_uuid' and 'unmangled_uuid' fields to dmsetup info -c -o.
   Mangle device UUID on dm_task_set_uuid/newuuid call if necessary.
   Add dm_task_get_uuid_mangled/unmangled to libdevmapper.
-  Always reset delay_resume_if_new flag when stacking thin pool.
+  Always reset delay_resume_if_new flag when stacking thin pool over anything.
   Don't create value for dm_config_node and require dm_config_create_value call.
   Check for existing new_name for dmsetup rename.
   Fix memory leak in dmsetup _get_split_name() error path.
diff --git a/tools/lvcreate.c b/tools/lvcreate.c
index 55b6a2c..3ea8f46 100644
--- a/tools/lvcreate.c
+++ b/tools/lvcreate.c
@@ -819,9 +819,9 @@ static int _lvcreate_params(struct lvcreate_params *lp,
 	    !_read_raid_params(lp, cmd))
 		return_0;
 
-	if (lp->create_thin_pool) {
+	if (lp->create_thin_pool)
 		lp->discards = (thin_discards_t) arg_uint_value(cmd, discards_ARG, THIN_DISCARDS_PASSDOWN);
-	} else if (arg_count(cmd, discards_ARG)) {
+	else if (arg_count(cmd, discards_ARG)) {
 		log_error("--discards is only available for thin pool creation.");
 		return 0;
 	}
@@ -872,11 +872,9 @@ static int _lvcreate_params(struct lvcreate_params *lp,
 
 		if (!lp->thin && lp->snapshot && !(lp->segtype = get_segtype_from_string(cmd, "snapshot")))
 			return_0;
-	} else {
-		if (arg_count(cmd, chunksize_ARG)) {
-			log_error("-c is only available with snapshots and thin pools");
-			return 0;
-		}
+	} else if (arg_count(cmd, chunksize_ARG)) {
+		log_error("-c is only available with snapshots and thin pools");
+		return 0;
 	}
 
 	/*




More information about the lvm-devel mailing list