Skip to contentSkip to conversation

LVM2 ./WHATS_NEW liblvm/lvm_base.c

PATCH [email protected] 1 participant 1 message Mar 17, 2010

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mbroz at sourceware.org 2010-03-17 14:45:28

Modified files:
. : WHATS_NEW
liblvm : lvm_base.c

Log message:
Disable long living process flag in lvm2app.

This option should be configurable, but for now do not set it at all.

(lvm2app is used in udisks probers and there cac cause several nasty races when trying to update lvmcache during rescan.)

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1466&r2=1.1467
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/liblvm/lvm_base.c.diff?cvsroot=lvm2&r1=1.14&r2=1.15

WHATS_NEW +1 -0
@@ -1,5 +1,6 @@
 Version 2.02.63 - 
 ================================
+  Disable long living process flag in lvm2app.
   Fix pvcreate device md filter check.
   Suppress repeated errors about the same missing PV uuids.
   Bypass full device scans when using internally-cached VG metadata.
liblvm/lvm_base.c +2 -1
@@ -32,7 +32,8 @@
 
 	/* create context */
 	/* FIXME: split create_toolcontext */
-	cmd = create_toolcontext(1, system_dir);
+	/* FIXME: make all globals configurable */
+	cmd = create_toolcontext(0, system_dir);
 	if (!cmd)
 		return NULL;