Commits
Igor Sukhih authored and Kir Kolyshkin committed ebb6e5213b3
create_snapshot: clear stale top delta inuse flag Sometimes after the node crash the top delta in-use flag is left set, so snapshot creation returns an error. Handle this particular case by calling check_delta to validate top delta and drop inuse flag on create snapshot. Reference: PSBM-27694 "Failed to create the snapshot: Operation failed. %1 after node crash" References: ploop@1025736, ploop@1026188 Signed-off-by: Kir Kolyshkin <kir@openvz.org>