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