Skip to contentSkip to conversation

master - pre-release

PATCH Alasdair Kergon 1 participant 1 message Mar 11, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=2159a1429d65adb824e67a1577625663d910516e
Commit:        2159a1429d65adb824e67a1577625663d910516e
Parent:        6807eb88634fd0db95cdccbbc65570b2d96c989a
Author:        Alasdair G Kergon <[email protected]>
AuthorDate:    Fri Mar 11 00:19:16 2016 +0000
Committer:     Alasdair G Kergon <[email protected]>
CommitterDate: Fri Mar 11 00:19:16 2016 +0000

pre-release

---
 VERSION                |    2 +-
 VERSION_DM             |    2 +-
 WHATS_NEW              |    4 +-
 WHATS_NEW_DM           |    4 +-
 conf/example.conf.in   |   14 ++++++-
 configure              |  107 ++++++++++++++++++++++++++++++++++++++++++++++++
 include/configure.h.in |    3 +
 lib/device/dev-type.c  |    2 +-
 8 files changed, 130 insertions(+), 8 deletions(-)
VERSION +1 -1
index 4b10296..dc1b9ea 100644
@@ -1 +1 @@
-2.02.146(2)-git (2016-03-04)
+2.02.146(2)-git (2016-03-11)
VERSION_DM +1 -1
index 3c381cc..1678ddf 100644
@@ -1 +1 @@
-1.02.120-git (2016-03-04)
+1.02.120-git (2016-03-11)
WHATS_NEW +2 -2
index 685cdad..27abb4a 100644
@@ -1,5 +1,5 @@
-Version 2.02.146 - 
-=================================
+Version 2.02.146 - 11th March 2016
+==================================
   More man page cleanups in lvconvert.
   Fix makefile vpath in /udev when generating udev rules files.
   Another attempt to improve VG name parsing for lvconvert (2.02.144).
WHATS_NEW_DM +2 -2
index 274d1b9..ec27a19 100644
@@ -1,5 +1,5 @@
-Version 1.02.120 - 
-=================================
+Version 1.02.120 - 11th March 2016
+==================================
   Improve parsing of cache status and report Fail, Error, needs_check, ro.
 
 Version 1.02.119 - 4th March 2016
conf/example.conf.in +13 -1
index 975f514..a21dd96 100644
@@ -525,7 +525,7 @@ log {
 	# debug output if the class is listed here. Classes currently
 	# available: memory, devices, activation, allocation, lvmetad,
 	# metadata, cache, locking, lvmpolld. Use "all" to see everything.
-	debug_classes = [ "memory", "devices", "activation", "allocation", "lvmetad", "metadata", "cache", "locking", "lvmpolld" ]
+	debug_classes = [ "memory", "devices", "activation", "allocation", "lvmetad", "metadata", "cache", "locking", "lvmpolld", "dbus" ]
 }
 
 # Configuration section backup.
@@ -1015,6 +1015,12 @@ global {
 	# and to use its own control group. When this option is disabled, LVM
 	# commands will supervise long running operations by forking themselves.
 	use_lvmpolld = @DEFAULT_USE_LVMPOLLD@
+
+	# Configuration option global/notify_dbus.
+	# Enable D-Bus notification from LVM commands.
+	# When enabled, an LVM command that changes PVs, changes VG metadata,
+	# or changes the activation state of an LV will send a notification.
+	notify_dbus = 1
 }
 
 # Configuration section activation.
@@ -1840,6 +1846,12 @@ activation {
 	# Use brackets [] to mark hidden devices.
 	# This configuration option has an automatic default value.
 	# mark_hidden_devices = 1
+
+	# Configuration option report/two_word_unknown_device.
+	# Use the two words 'unknown device' in place of '[unknown]'.
+	# This is displayed when the device for a PV is not known.
+	# This configuration option has an automatic default value.
+	# two_word_unknown_device = 0
 # }
 
 # Configuration section dmeventd.
configure +107 -0

155 lines not on this page · raw message

ing_systemd_red_hat.service scripts/lvm2_monitoring_init_red_hat scripts/lvm2_monitoring_systemd_red_hat.service scripts/lvm2_pvscan_systemd_red_hat at .service scripts/lvm2_tmpfiles_red_hat.conf scripts/Makefile test/Makefile test/api/Makefile test/unit/Makefile tools/Makefile udev/Makefile unit-tests/datastruct/Makefile unit-tests/regex/Makefile unit-tests/mm/Makefile"

include/configure.h.in +3 -0
index 1681af0..d94d55d 100644
@@ -631,6 +631,9 @@
 /* The path to 'modprobe', if available. */
 #undef MODPROBE_CMD
 
+/* Define to 1 to include code that uses dbus notification. */
+#undef NOTIFYDBUS_SUPPORT
+
 /* Define to 1 to enable O_DIRECT support. */
 #undef O_DIRECT_SUPPORT
 
lib/device/dev-type.c +1 -1
index 689809a..f9f1418 100644
@@ -854,7 +854,7 @@ static unsigned long _dev_topology_attribute(struct dev_types *dt,
 	result = value >> SECTOR_SHIFT;
 
 	if (!result && value) {
-		log_warn("WARNING: Device %s: %s is %lu and is unexpectedly less then sector.",
+		log_warn("WARNING: Device %s: %s is %lu and is unexpectedly less than sector.",
 			 dev_name(dev), attribute, value);
 		result = 1;
 	}