diff options
| author | Martin Schwenke <martin@meltin.net> | 2013-04-19 13:05:02 +1000 |
|---|---|---|
| committer | Amitay Isaacs <amitay@gmail.com> | 2013-05-06 13:38:21 +1000 |
| commit | 2e59cd54281a6a852c6037d68a3973feec60b7c8 (patch) | |
| tree | 8428bcef5d0faef7ad023e3a3ff08c17a5b4e80a /ctdb/include | |
| parent | f6e48639cd9dbe220ac9e5366ae6f005e327d965 (diff) | |
ctdbd: New control CTDB_CONTROL_IPREALLOCATED
This is an alternative to using ctdb_run_eventscripts() that can be
used when in recovery.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 27a44685f0d7a88804b61a1542bb42adc8f88cb1)
Diffstat (limited to 'ctdb/include')
| -rw-r--r-- | ctdb/include/ctdb_private.h | 3 | ||||
| -rw-r--r-- | ctdb/include/ctdb_protocol.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 03e996bc7e..410e670fda 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -1102,6 +1102,9 @@ int32_t ctdb_control_release_ipv4(struct ctdb_context *ctdb, struct ctdb_req_control *c, TDB_DATA indata, bool *async_reply); +int32_t ctdb_control_ipreallocated(struct ctdb_context *ctdb, + struct ctdb_req_control *c, + bool *async_reply); int32_t ctdb_control_start_recovery(struct ctdb_context *ctdb, struct ctdb_req_control *c, bool *async_reply); diff --git a/ctdb/include/ctdb_protocol.h b/ctdb/include/ctdb_protocol.h index 4755b4c18b..728edc08b9 100644 --- a/ctdb/include/ctdb_protocol.h +++ b/ctdb/include/ctdb_protocol.h @@ -404,6 +404,7 @@ enum ctdb_controls {CTDB_CONTROL_PROCESS_EXISTS = 0, CTDB_CONTROL_RELOAD_PUBLIC_IPS = 134, CTDB_CONTROL_TRAVERSE_ALL_EXT = 135, CTDB_CONTROL_RECEIVE_RECORDS = 136, + CTDB_CONTROL_IPREALLOCATED = 137, }; /* |
