summaryrefslogtreecommitdiff
path: root/tools/pvmove_poll.c
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-06-08 19:39:15 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2021-06-09 14:56:13 +0200
commitbb45e33518b56a06df8a52226e383ca9ce938d0d (patch)
tree54196e9034b45e1bce07643dddeb16565de23323 /tools/pvmove_poll.c
parentba3707d9539f9cc2e72c5368388ae795776379af (diff)
downloadlvm2-bb45e33518b56a06df8a52226e383ca9ce938d0d.tar.gz
backup: automatically store data on vg_unlock
Previously there have been necessary explicit call of backup (often either forgotten or over-used). With this patch the necessity to store backup is remember at vg_commit and once the VG is unlocked, the committed metadata are automatically store in backup file. This may possibly alter some printed messages from command when the backup is now taken later.
Diffstat (limited to 'tools/pvmove_poll.c')
-rw-r--r--tools/pvmove_poll.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/pvmove_poll.c b/tools/pvmove_poll.c
index d379596f2..751313cd7 100644
--- a/tools/pvmove_poll.c
+++ b/tools/pvmove_poll.c
@@ -120,8 +120,5 @@ int pvmove_finish(struct cmd_context *cmd, struct volume_group *vg,
return 0;
}
- /* FIXME backup positioning */
- backup(vg);
-
return 1;
}