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