6 Star 0 Fork 6

src-openEuler/drbd

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-DRBDmon-Add-constant-ARG_INVALIDATE_REMOTE.patch 1.50 KB
一键复制 编辑 原始数据 按行查看 历史
From 4f4be26d376039464104db3b35b8af864716a6ae Mon Sep 17 00:00:00 2001
From: Robert Altnoeder <robert.altnoeder@linbit.com>
Date: Thu, 15 Feb 2024 15:50:12 +0100
Subject: [PATCH 056/100] DRBDmon: Add constant ARG_INVALIDATE_REMOTE
---
user/drbdmon/subprocess/DrbdCmdConsts.cpp | 1 +
user/drbdmon/subprocess/DrbdCmdConsts.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/user/drbdmon/subprocess/DrbdCmdConsts.cpp b/user/drbdmon/subprocess/DrbdCmdConsts.cpp
index ea157cfc..462d51bf 100644
--- a/user/drbdmon/subprocess/DrbdCmdConsts.cpp
+++ b/user/drbdmon/subprocess/DrbdCmdConsts.cpp
@@ -19,6 +19,7 @@ namespace drbdcmd
const std::string ARG_RESUME_SYNC("resume-sync");
const std::string ARG_RESIZE("resize");
const std::string ARG_INVALIDATE("invalidate");
+ const std::string ARG_INVALIDATE_REMOTE("invalidate-remote");
const std::string ARG_FORCE("--force");
const std::string ARG_DISCARD("--discard-my-data");
diff --git a/user/drbdmon/subprocess/DrbdCmdConsts.h b/user/drbdmon/subprocess/DrbdCmdConsts.h
index ddd8f674..25becd4f 100644
--- a/user/drbdmon/subprocess/DrbdCmdConsts.h
+++ b/user/drbdmon/subprocess/DrbdCmdConsts.h
@@ -23,6 +23,7 @@ namespace drbdcmd
extern const std::string ARG_RESUME_SYNC;
extern const std::string ARG_RESIZE;
extern const std::string ARG_INVALIDATE;
+ extern const std::string ARG_INVALIDATE_REMOTE;
extern const std::string ARG_FORCE;
extern const std::string ARG_DISCARD;
--
2.33.1.windows.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/drbd.git
git@gitee.com:src-openeuler/drbd.git
src-openeuler
drbd
drbd
master

搜索帮助