From 917c57e77bf7106703245ad1e441d3240b1ca3fd Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Wed, 17 Mar 2010 14:45:28 +0000 Subject: [PATCH] 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.) --- WHATS_NEW | 1 + liblvm/lvm_base.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/WHATS_NEW b/WHATS_NEW index 8dc1ea6e1..23a369b1a 100644 --- 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. diff --git a/liblvm/lvm_base.c b/liblvm/lvm_base.c index ac9469288..733d4d54d 100644 --- a/liblvm/lvm_base.c +++ b/liblvm/lvm_base.c @@ -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; -- 2.43.5