From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Teigland Date: Wed, 22 Sep 2021 08:46:36 -0500 Subject: [Cluster-devel] [RFC PATCH dlm 00/10] dlm_controld config settings can be In-Reply-To: <36d545a4-0551-6ab4-42da-0816020c4da6@suse.com> References: <20210919064322.1670-1-heming.zhao@suse.com> <20210920175736.GA19901@redhat.com> <20210921135404.GA27196@redhat.com> <36d545a4-0551-6ab4-42da-0816020c4da6@suse.com> Message-ID: <20210922134636.GB6605@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Wed, Sep 22, 2021 at 05:32:49PM +0800, heming.zhao at suse.com wrote: > If there is no chance to add dynamic updating setting by run command. > Is it a good idea to add a parameter "-I", like "dlm_tool -I reload_config". > "-I" means directly change without reading from dlm.conf. > When users want to restore the original setting, run "dlm_tool reload_config" > (without "-I") to override with predefined/default values. How about "dlm_tool set_config x=y" to make a temporary change in dlm_controld, and "dlm_tool reload_config" to reread dlm.conf. Dave