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