[Debian-ha-commits] [ocfs2-tools] 52/58: support Ceph block devices as global heartbeat
Valentin Vidic
vvidic-guest at moszumanska.debian.org
Tue Jun 20 13:40:44 UTC 2017
This is an automated email from the git hooks/post-receive script.
vvidic-guest pushed a commit to branch upstream
in repository ocfs2-tools.
commit ebe865124d3ac26406afe374cc620c207caf7ec7
Author: Frank Brendel <frank.brendel at eurolog.com>
Date: Tue Feb 7 08:58:35 2017 +0100
support Ceph block devices as global heartbeat
---
o2cb_ctl/o2cb_scandisk.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/o2cb_ctl/o2cb_scandisk.c b/o2cb_ctl/o2cb_scandisk.c
index ad6270d..3cc2b7f 100644
--- a/o2cb_ctl/o2cb_scandisk.c
+++ b/o2cb_ctl/o2cb_scandisk.c
@@ -136,6 +136,8 @@ static void add_to_list(struct list_head *device_list, struct devnode *node)
add = !strncmp(path->path, "/dev/xvd", 8);
if (!add)
add = !strncmp(path->path, "/dev/vd", 7);
+ if (!add)
+ add = !strncmp(path->path, "/dev/rbd", 8);
}
if (add) {
hb = malloc(sizeof(struct hb_devices));
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/ocfs2-tools.git
More information about the Debian-HA-Commits
mailing list