From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Aring Date: Thu, 9 Jul 2020 15:00:00 -0400 Subject: [Cluster-devel] [PATCH dlm-tool 2/3] dlm_controld: change enable_waitplock_recovery default In-Reply-To: <20200709190001.102450-1-aahringo@redhat.com> References: <20200709190001.102450-1-aahringo@redhat.com> Message-ID: <20200709190001.102450-3-aahringo@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit This patch sets the default value of enable_waitplock_recovery to false as it is the same as the kernel configuration default. Note that in this specific case dlm_controld will not set the default value on startup. However this patch syncs the kernel and user land default behaviour. --- dlm_controld/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlm_controld/main.c b/dlm_controld/main.c index 3ec318c2..95107d09 100644 --- a/dlm_controld/main.c +++ b/dlm_controld/main.c @@ -1754,7 +1754,7 @@ static void set_opt_defaults(void) set_opt_default(enable_waitplock_recovery_ind, "enable_waitplock_recovery", '\0', req_arg_bool, - 1, NULL, + 0, NULL, "enable/disable posix lock to wait for dlm recovery after lock acquire"); set_opt_default(plock_debug_ind, -- 2.26.2