a3470f
From 9408859ce233c84f94fe4b7dd73cbbdc09fac10c Mon Sep 17 00:00:00 2001
a3470f
From: Ashish Pandey <aspandey@redhat.com>
a3470f
Date: Thu, 2 Aug 2018 10:54:52 +0530
a3470f
Subject: [PATCH 335/351] cluster/ec: set others.eager-lock option off by
a3470f
 default
a3470f
a3470f
This patch is only for downstream.
a3470f
We will revert the changes back to ON once we take
a3470f
lock contention feature for downstream, which is already present
a3470f
in upstream.
a3470f
a3470f
Change-Id: I4619eb692fe66732d5373dd63afd28b44467027a
a3470f
BUG: 1611151
a3470f
Signed-off-by: Ashish Pandey <aspandey@redhat.com>
a3470f
Reviewed-on: https://code.engineering.redhat.com/gerrit/145842
a3470f
Tested-by: RHGS Build Bot <nigelb@redhat.com>
a3470f
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
a3470f
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
a3470f
---
a3470f
 xlators/cluster/ec/src/ec.c | 6 +++++-
a3470f
 1 file changed, 5 insertions(+), 1 deletion(-)
a3470f
a3470f
diff --git a/xlators/cluster/ec/src/ec.c b/xlators/cluster/ec/src/ec.c
a3470f
index 0d59efd..9a23a45 100644
a3470f
--- a/xlators/cluster/ec/src/ec.c
a3470f
+++ b/xlators/cluster/ec/src/ec.c
a3470f
@@ -1434,9 +1434,13 @@ struct volume_options options[] =
a3470f
                      "disabled, lock will be released as soon as fop "
a3470f
                      "completes."
a3470f
     },
a3470f
+    /* Keeping this option OFF by default. Once we take lock
a3470f
+     * contention notification feature (upstream patch #14736) in for
a3470f
+     * downstream we can revert this to ON.
a3470f
+     */
a3470f
     { .key = {"other-eager-lock"},
a3470f
       .type = GF_OPTION_TYPE_BOOL,
a3470f
-      .default_value = "on",
a3470f
+      .default_value = "off",
a3470f
       .description = "It's equivalent to the eager-lock option but for non "
a3470f
                      "regular files."
a3470f
     },
a3470f
-- 
a3470f
1.8.3.1
a3470f