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