Disable long living process flag in lvm2app.
PATCH 1/1 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.)
--- liblvm/lvm_base.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
liblvm/lvm_base.c +1 -1
@@ -32,7 +32,7 @@ lvm_t lvm_init(const char *system_dir)/* create context */ /* FIXME: split create_toolcontext */ - cmd =create_toolcontext (1 , system_dir); + cmd =create_toolcontext (0 , system_dir);if (!cmd)return NULL ;
Signature · 1 line
1.7.0