8 Star 0 Fork 5

src-anolis-os/glusterfs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0290-glusterd-tag-disperse.quorum-count-for-31306.patch 3.47 KB
一键复制 编辑 原始数据 按行查看 历史
张彬琛 提交于 2021-01-20 13:34 . import glusterfs-6.0-20.el8.src.rpm
From 312da653ac80b537af06139f8d83a63180c72461 Mon Sep 17 00:00:00 2001
From: Pranith Kumar K <[email protected]>
Date: Tue, 10 Sep 2019 14:04:17 +0530
Subject: [PATCH 290/297] glusterd: tag disperse.quorum-count for 31306
In upstream disperse.quorum-count is makred for release-8
latest new op-version is 31306.
Label: DOWNSTREAM ONLY
fixes: bz#1748688
Change-Id: I88fdbd56ce3b8475b5ec670659adaa9d11c01d97
Signed-off-by: Pranith Kumar K <[email protected]>
Reviewed-on: https://code.engineering.redhat.com/gerrit/180675
Reviewed-by: Ashish Pandey <[email protected]>
Tested-by: RHGS Build Bot <[email protected]>
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <[email protected]>
---
libglusterfs/src/glusterfs/globals.h | 12 ++++++------
xlators/mgmt/glusterd/src/glusterd-volume-set.c | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/libglusterfs/src/glusterfs/globals.h b/libglusterfs/src/glusterfs/globals.h
index bdc8b3d..e218285 100644
--- a/libglusterfs/src/glusterfs/globals.h
+++ b/libglusterfs/src/glusterfs/globals.h
@@ -50,19 +50,19 @@
1 /* MIN is the fresh start op-version, mostly \
should not change */
#define GD_OP_VERSION_MAX \
- GD_OP_VERSION_8_0 /* MAX VERSION is the maximum \
+ GD_OP_VERSION_7_0 /* MAX VERSION is the maximum \
count in VME table, should \
keep changing with \
introduction of newer \
versions */
-#define GD_OP_VERSION_RHS_3_0 30000 /* Op-Version of RHS 3.0 */
+#define GD_OP_VERSION_RHS_3_0 30000 /* Op-Version of RHS 3.0 */
#define GD_OP_VER_PERSISTENT_AFR_XATTRS GD_OP_VERSION_RHS_3_0
-#define GD_OP_VERSION_RHS_2_1_5 20105 /* RHS 2.1 update 5 */
+#define GD_OP_VERSION_RHS_2_1_5 20105 /* RHS 2.1 update 5 */
-#define GD_OP_VERSION_RHS_3_0_4 30004 /* Op-Version of RHS 3.0.4 */
+#define GD_OP_VERSION_RHS_3_0_4 30004 /* Op-Version of RHS 3.0.4 */
#define GD_OP_VERSION_3_7_0 30700 /* Op-version for GlusterFS 3.7.0 */
@@ -124,6 +124,8 @@
#define GD_OP_VERSION_3_13_5 31305 /* Op-version for GlusterFS 3.13.5 */
+#define GD_OP_VERSION_3_13_6 31306 /* Op-version for GlusterFS 3.13.6 */
+
#define GD_OP_VERSION_4_0_0 40000 /* Op-version for GlusterFS 4.0.0 */
#define GD_OP_VERSION_4_1_0 40100 /* Op-version for GlusterFS 4.1.0 */
@@ -136,8 +138,6 @@
#define GD_OP_VERSION_7_0 70000 /* Op-version for GlusterFS 7.0 */
-#define GD_OP_VERSION_8_0 80000 /* Op-version for GlusterFS 8.0 */
-
#include "glusterfs/xlator.h"
#include "glusterfs/options.h"
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index 7ca47a6..16601a2 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -3702,7 +3702,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
{.key = "disperse.quorum-count",
.voltype = "cluster/disperse",
.type = NO_DOC,
- .op_version = GD_OP_VERSION_8_0,
+ .op_version = GD_OP_VERSION_3_13_6,
.validate_fn = validate_disperse_quorum_count,
.description = "This option can be used to define how many successes on"
"the bricks constitute a success to the application. This"
--
1.8.3.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-anolis-os/glusterfs.git
[email protected]:src-anolis-os/glusterfs.git
src-anolis-os
glusterfs
glusterfs
a8

搜索帮助