f338ef
From 21fe2ef700e76c8b7be40f21d3a4fb6b96eafaf0 Mon Sep 17 00:00:00 2001
f338ef
From: Xavi Hernandez <xhernandez@redhat.com>
f338ef
Date: Thu, 6 Jun 2019 08:12:34 +0200
f338ef
Subject: [PATCH 228/255] locks: enable notify-contention by default
f338ef
f338ef
This patch enables the lock contention notification by default.
f338ef
f338ef
Upstream patch:
f338ef
> Change-Id: I10131b026a7cb09fc7c93e1e6c8549988c1d7751
f338ef
> Upstream patch link: https://review.gluster.org/c/glusterfs/+/22828
f338ef
> BUG: 1717754
f338ef
> Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
f338ef
f338ef
Change-Id: I10131b026a7cb09fc7c93e1e6c8549988c1d7751
f338ef
Fixes: bz#1720488
f338ef
Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
f338ef
Reviewed-on: https://code.engineering.redhat.com/gerrit/174655
f338ef
Tested-by: RHGS Build Bot <nigelb@redhat.com>
f338ef
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
f338ef
---
f338ef
 xlators/features/locks/src/posix.c | 2 +-
f338ef
 1 file changed, 1 insertion(+), 1 deletion(-)
f338ef
f338ef
diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c
f338ef
index adb0df5..9db5ac6 100644
f338ef
--- a/xlators/features/locks/src/posix.c
f338ef
+++ b/xlators/features/locks/src/posix.c
f338ef
@@ -4796,7 +4796,7 @@ struct volume_options options[] = {
f338ef
                     "be used in conjunction w/ revocation-clear-all."},
f338ef
     {.key = {"notify-contention"},
f338ef
      .type = GF_OPTION_TYPE_BOOL,
f338ef
-     .default_value = "no",
f338ef
+     .default_value = "yes",
f338ef
      .flags = OPT_FLAG_SETTABLE | OPT_FLAG_DOC,
f338ef
      .op_version = {GD_OP_VERSION_4_0_0},
f338ef
      .tags = {"locks", "contention"},
f338ef
-- 
f338ef
1.8.3.1
f338ef