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