File bsc#1174696-0002-Doc-scheduler-improve-the-documentation-of-have-watc-1.1.patch of Package pacemaker.19778
From 70ce761cacbc5a95d60d20c2144e49caf429b9fd Mon Sep 17 00:00:00 2001
From: "Gao,Yan" <ygao@suse.com>
Date: Fri, 14 Aug 2020 13:17:51 +0200
Subject: [PATCH 2/3] Doc: scheduler: improve the documentation of
`have-watchdog` cluster option
---
lib/pengine/common.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
Index: pacemaker-1.1.19+20181105.ccd6b5b10/lib/pengine/common.c
===================================================================
--- pacemaker-1.1.19+20181105.ccd6b5b10.orig/lib/pengine/common.c
+++ pacemaker-1.1.19+20181105.ccd6b5b10/lib/pengine/common.c
@@ -110,7 +110,14 @@ pe_cluster_option pe_opts[] = {
{ "stonith-timeout", NULL, "time", NULL, "60s", &check_timer,
"How long to wait for the STONITH action (reboot,on,off) to complete", NULL },
{ XML_ATTR_HAVE_WATCHDOG, NULL, "boolean", NULL, "false", &check_boolean,
- "Enable watchdog integration", "Set automatically by the cluster if SBD is detected. User configured values are ignored." },
+ "Whether watchdog integration is enabled",
+ "This is set automatically by the cluster according to whether SBD "
+ "is detected to be in use. User-configured values are ignored. "
+ "The value `true` is meaningful if diskless SBD is used and "
+ "`stonith-watchdog-timeout` is positive. In that case, if fencing "
+ "is required, watchdog-based self-fencing will be performed via "
+ "SBD without requiring a fencing resource explicitly configured."
+ },
{ "concurrent-fencing", NULL, "boolean", NULL, "false", &check_boolean,
"Allow performing fencing operations in parallel", NULL },
{ "startup-fencing", "startup_fencing", "boolean", NULL, "true", &check_boolean,