[pve-devel] [PATCH cluster 1/5] pmxcfs: do not wait artificially when stopping

Thomas Lamprecht t.lamprecht at proxmox.com
Wed May 2 10:59:51 CEST 2018

Most of PVE services profit from an up and running pmxcfs, thus
artificially prolonging its graceful termination is contra

As everything gets de-initialized nicely and gracefully this should
not be problematic, the restart is not the fastest anyhow anyway.

As this specific line has no git tracking information available
(imported from svn) I could not find if and what the reason for this

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
(cherry picked from commit 6994f9b88ecebacd5f8038dcbd0527c6a10d8802)
 data/src/pmxcfs.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/data/src/pmxcfs.c b/data/src/pmxcfs.c
index 5547d5d..bb5b4ad 100644
--- a/data/src/pmxcfs.c
+++ b/data/src/pmxcfs.c
@@ -1048,7 +1048,6 @@ int main(int argc, char *argv[])
 	if (service_status)
-	sleep(1); /* do not restart too fast */
 	if (status_fsm)

More information about the pve-devel mailing list