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