mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-24 17:57:48 +03:00
After the lvmlockd abnormally exits and relaunch the daemon, if LVM commands continue to run, lvmlockd and the backend lock manager (e.g. sanlock lock manager or IDM lock manager) should can continue to serve the requests from LVM commands. This patch adds a test to emulate lvmlockd failure, and verify the LVM commands after lvmlockd recovers back. Below is an example for testing the case: # make check_lvmlockd_idm \ LVM_TEST_BACKING_DEVICE=/dev/sdo3,/dev/sdp3,/dev/sdp4 \ LVM_TEST_FAILURE=1 T=lvmlockd_failure.sh Signed-off-by: Leo Yan <leo.yan@linaro.org>