git.samba.org
/
rusty
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0256db4
)
add a stub restart method for IB
author
Ronnie Sahlberg
<sahlberg@ronnie>
Thu, 18 Oct 2007 23:04:52 +0000
(09:04 +1000)
committer
Ronnie Sahlberg
<sahlberg@ronnie>
Thu, 18 Oct 2007 23:04:52 +0000
(09:04 +1000)
ib/ibw_ctdb_init.c
patch
|
blob
|
history
diff --git
a/ib/ibw_ctdb_init.c
b/ib/ibw_ctdb_init.c
index 8dbb9c241cc63195b0eaed8cafc3ec33d959a88d..ca37cf0151ebe17bf0e030c25210583187fc16ff 100644
(file)
--- a/
ib/ibw_ctdb_init.c
+++ b/
ib/ibw_ctdb_init.c
@@
-177,6
+177,12
@@
static int ctdb_ibw_queue_pkt(struct ctdb_node *node, uint8_t *data, uint32_t le
return rc;
}
+static void ctdb_ibw_restart(struct ctdb_node *node)
+{
+ /* TODO: implement this method for IB */
+ DEBUG(0,("WARNING: method restart is not yet implemented for IB\n");
+}
+
/*
* transport packet allocator - allows transport to control memory for packets
*/
@@
-204,6
+210,7
@@
static const struct ctdb_methods ctdb_ibw_methods = {
.queue_pkt = ctdb_ibw_queue_pkt,
.add_node = ctdb_ibw_add_node,
.allocate_pkt = ctdb_ibw_allocate_pkt,
+ .restart = ctdb_ibw_restart,
// .stop = ctdb_ibw_stop
};