HomeClusterLabs Projects

LVM-activate: avoid unnecessary validation in stop action

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

LVM-activate: avoid unnecessary validation in stop action

"stop" action is very critical because stop failure can incur node
fencing, so we must try to stop sucessfully as possible as we can.

So, put lvm_validate() after lvm_status(), thus it won't validate
userlessly if the RA is already stopped. Also, removed the duplicate
checking for the VG.

Signed-off-by: Eric Ren <zren@suse.com>

Details

Provenance
Eric Ren <zren@suse.com>Authored on Nov 20 2017, 10:14 PM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.