From 144972bbddc4071600a1cc0380a997ada05c013d Mon Sep 17 00:00:00 2001 From: Ravishankar N Date: Fri, 3 Jan 2020 09:59:29 +0530 Subject: afr: expose cluster.optimistic-change-log to CLI. This volume option was not made avaialble to `gluster volume set` CLI. Reported-by: epolakis(https://github.com/kinsu) in https://github.com/gluster/glusterfs/issues/781 fixes: bz#1787554 Change-Id: I7141bdd4e53ee99e22b354edde8d023bfc0b2cd7 Signed-off-by: Ravishankar N --- xlators/cluster/afr/src/afr.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlators/cluster/afr/src') diff --git a/xlators/cluster/afr/src/afr.c b/xlators/cluster/afr/src/afr.c index 13b5ca2fce9..ec7aa226821 100644 --- a/xlators/cluster/afr/src/afr.c +++ b/xlators/cluster/afr/src/afr.c @@ -241,6 +241,8 @@ reconfigure(xlator_t *this, dict_t *options) out); GF_OPTION_RECONF("eager-lock", priv->eager_lock, options, bool, out); + GF_OPTION_RECONF("optimistic-change-log", priv->optimistic_change_log, + options, bool, out); GF_OPTION_RECONF("quorum-type", qtype, options, str, out); GF_OPTION_RECONF("quorum-count", priv->quorum_count, options, uint32, out); fix_quorum_options(this, priv, qtype, options); -- cgit