Another step towards better automatic handling of backup,
and automatically setup needs_backup after commit.
In some next step we should reduce number of backups and takem
then only at the command finish with vg_committed content.
display_lvname(pool_lv));
}
- vg->needs_backup = 1;
-
lockd_lv(cmd, lock_lv, "un", LDLV_PERSISTENT);
lockd_free_lv(cmd, vg, lv->name, &lv->lvid.id[1], lv->lock_args);
dm_list_init(&vg->msg_list);
vg->needs_write_and_commit = 0;
}
- }
+ vg->needs_backup = 0;
+ }
/* If at least one mda commit succeeded, it was committed */
return ret;