doc/example.conf.in | 2 +- lib/commands/toolcontext.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/example.conf.in b/doc/example.conf.in index 10cfe16..442ad64 100644 --- a/doc/example.conf.in +++ b/doc/example.conf.in @@ -491,7 +491,7 @@ global { # # If lvmetad has been running while use_lvmetad was 0, it MUST be stopped # before changing use_lvmetad to 1 and started again afterwards. - use_lvmetad = 0 + use_lvmetad = 1 # Full path of the utility called to check that a thin metadata device # is in a state that allows it to be used. diff --git a/lib/commands/toolcontext.c b/lib/commands/toolcontext.c index d72b0c0..d7f8ece 100644 --- a/lib/commands/toolcontext.c +++ b/lib/commands/toolcontext.c @@ -413,7 +413,7 @@ static int _process_config(struct cmd_context *cmd) lvmetad_set_socket(lvmetad_socket); cn = find_config_tree_node(cmd, "devices/global_filter"); lvmetad_set_token(cn ? cn->v : NULL); - lvmetad_set_active(find_config_tree_int(cmd, "global/use_lvmetad", 0)); + lvmetad_set_active(find_config_tree_int(cmd, "global/use_lvmetad", 1)); lvmetad_init(cmd); return 1;