summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2015-05-15 23:19:29 +0100
committerAlasdair G Kergon <agk@redhat.com>2015-05-15 23:19:29 +0100
commit0300730cc9ba058df830d9cb0981183b90ad17db (patch)
tree2cfbc615f612d5f56b4823cc4d78224d75e064b8
parent9e102ecbd9b6efc36e09c84b8f0882d993038f84 (diff)
downloadlvm2-0300730cc9ba058df830d9cb0981183b90ad17db.tar.gz
pre-releasev2_02_120
-rw-r--r--VERSION2
-rw-r--r--VERSION_DM2
-rw-r--r--WHATS_NEW13
-rw-r--r--WHATS_NEW_DM4
-rw-r--r--lib/config/config_settings.h2
-rw-r--r--lib/metadata/raid_manip.c6
6 files changed, 19 insertions, 10 deletions
diff --git a/VERSION b/VERSION
index adebf569e..b79b8d29c 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.02.120(2)-git (2015-05-02)
+2.02.120(2)-git (2015-05-15)
diff --git a/VERSION_DM b/VERSION_DM
index bb766e731..829a0b4e3 100644
--- a/VERSION_DM
+++ b/VERSION_DM
@@ -1 +1 @@
-1.02.97-git (2015-05-02)
+1.02.97-git (2015-05-15)
diff --git a/WHATS_NEW b/WHATS_NEW
index 13a034bfb..ea0713f14 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,18 +1,25 @@
-Version 2.02.120 -
-===============================
- add lvmpolld client mode for querying running server instance for status info.
+Version 2.02.120 - 15th May 2015
+================================
+ Make various adjustments to Makefile compilation flags.
+ Add lvmpolld debug message class.
+ Add lvmpolld client mode for querying running server instance for status info.
Fix some libdaemon socket creation and reuse error paths.
Daemons (libdaemon) support exit on idle also in non-systemd environment.
Provide make dist and make rpm targets
Configure lvm.conf for use_lvmetad and use_lvmpolld.
Add lvpoll for cmdline communication with lvmpolld.
Add lvmpolld acting as a free-standing version of polldaemon.
+ Avoid repeated identical lvmetad VG lookups in commands processing all VGs.
+ Handle switches to alternative duplicate PVs efficiently with lvmetad.
Properly validate PV size for pvcreate --restorefile.
Fix check if pvcreate wiped device (2.02.117).
Fix storing of vgid when caching metadata (2.02.118).
Fix recursive lvm-config man page. (2.02.119)
Refactor polldaemon interfaces to poll every operation by VG/LV couple
Skip wait after testing in _wait_for_single_lv when polling finished
+ Return 'None' in python for empty string properties instead of crashing.
+ Distinguish signed numerical property type in reports for lvm2app library.
+ Reread raid completion status immediately when progress appears to be zero.
lvm2app closes locking on lvm_quit().
Configure detects /run or /var/run.
Add missing newline in clvmd --help output.
diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM
index cdea8c21e..6f8402fb0 100644
--- a/WHATS_NEW_DM
+++ b/WHATS_NEW_DM
@@ -1,5 +1,5 @@
-Version 1.02.97 -
-==============================
+Version 1.02.97 - 15th May 2015
+===============================
New dm_task_get_info(DM_1_02_97) supports internal_suspend state.
New symbols are versioned and comes with versioned symbol name (DM_1_02_97).
diff --git a/lib/config/config_settings.h b/lib/config/config_settings.h
index a06b3e669..885a2fa35 100644
--- a/lib/config/config_settings.h
+++ b/lib/config/config_settings.h
@@ -175,7 +175,7 @@ cfg(devices_dir_CFG, "dir", devices_CFG_SECTION, CFG_ADVANCED, CFG_TYPE_STRING,
cfg_array(devices_scan_CFG, "scan", devices_CFG_SECTION, CFG_ADVANCED, CFG_TYPE_STRING, "#S/dev", vsn(1, 0, 0), NULL, 0, NULL,
"Directories containing device nodes to use with LVM.\n")
-cfg_array(devices_loopfiles_CFG, "loopfiles", devices_CFG_SECTION, CFG_DEFAULT_COMMENTED | CFG_UNSUPPORTED, CFG_TYPE_STRING, NULL, vsn(1, 2, 0), NULL, 0, NULL, NULL)
+cfg_array(devices_loopfiles_CFG, "loopfiles", devices_CFG_SECTION, CFG_DEFAULT_UNDEFINED | CFG_UNSUPPORTED, CFG_TYPE_STRING, NULL, vsn(1, 2, 0), NULL, 0, NULL, NULL)
cfg(devices_obtain_device_list_from_udev_CFG, "obtain_device_list_from_udev", devices_CFG_SECTION, 0, CFG_TYPE_BOOL, DEFAULT_OBTAIN_DEVICE_LIST_FROM_UDEV, vsn(2, 2, 85), NULL, 0, NULL,
"Obtain the list of available devices from udev.\n"
diff --git a/lib/metadata/raid_manip.c b/lib/metadata/raid_manip.c
index 0428eb09f..64cfb3f13 100644
--- a/lib/metadata/raid_manip.c
+++ b/lib/metadata/raid_manip.c
@@ -95,8 +95,10 @@ static int _raid_in_sync(struct logical_volume *lv)
}
if (sync_percent == DM_PERCENT_0) {
/*
- * Repeat read of status once more - since buggy kernel target
- * sometimes reports 0 even though the array is in 100% sync
+ * FIXME We repeat the status read here to workaround an
+ * unresolved kernel bug when we see 0 even though the
+ * the array is 100% in sync.
+ * https://bugzilla.redhat.com/1210637
*/
if (!lv_raid_percent(lv, &sync_percent)) {
log_error("Unable to determine sync status of %s/%s.",