3 Star 0 Fork 0

mirrors_git_kernel_org/pub_scm_utils_mdadm_mdadm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
msg.h 1.45 KB
一键复制 编辑 原始数据 按行查看 历史
NeilBrown 提交于 2013-06-19 12:31 . Remove lots of unnecessary white space.
/*
* Copyright (C) 2008 Intel Corporation
*
* mdmon socket / message handling
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*/
struct mdinfo;
struct metadata_update;
extern int receive_message(int fd, struct metadata_update *msg, int tmo);
extern int send_message(int fd, struct metadata_update *msg, int tmo);
extern int ack(int fd, int tmo);
extern int wait_reply(int fd, int tmo);
extern int connect_monitor(char *devname);
extern int ping_monitor(char *devname);
extern int block_subarray(struct mdinfo *sra);
extern int unblock_subarray(struct mdinfo *sra, const int unfreeze);
extern int block_monitor(char *container, const int freeze);
extern void unblock_monitor(char *container, const int unfreeze);
extern int fping_monitor(int sock);
extern int ping_manager(char *devname);
extern void flush_mdmon(char *container);
#define MSG_MAX_LEN (4*1024*1024)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_git_kernel_org/pub_scm_utils_mdadm_mdadm.git
[email protected]:mirrors_git_kernel_org/pub_scm_utils_mdadm_mdadm.git
mirrors_git_kernel_org
pub_scm_utils_mdadm_mdadm
pub_scm_utils_mdadm_mdadm
master

搜索帮助