]> sourceware.org Git - lvm2.git/commitdiff
Disable long living process flag in lvm2app.
authorMilan Broz <mbroz@redhat.com>
Wed, 17 Mar 2010 14:45:28 +0000 (14:45 +0000)
committerMilan Broz <mbroz@redhat.com>
Wed, 17 Mar 2010 14:45:28 +0000 (14:45 +0000)
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.)

WHATS_NEW
liblvm/lvm_base.c

index 8dc1ea6e10e5da3b7dabe877eefab858b2258f9b..23a369b1a6a805ef68be77a4e35f5354fc4941b4 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -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.
index ac94692884e8abd066b58df7723b35025bf1244e..733d4d54da774d01228cf476ab4dc1189400923e 100644 (file)
@@ -32,7 +32,8 @@ lvm_t lvm_init(const char *system_dir)
 
        /* 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;
 
This page took 0.038533 seconds and 5 git commands to generate.