diff options
author | Amitay Isaacs <amitay@gmail.com> | 2017-08-30 15:10:56 +1000 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2017-09-21 08:53:26 +0200 |
commit | e5b133a127ff2a34689e679397bdd211fa2aada6 (patch) | |
tree | f5be7e61fad0dfcdd357dab4c914abb4ed8af5a1 /ctdb/protocol | |
parent | e675f346805de1754a6b18cf0dfbc71df9c7a05d (diff) | |
download | samba-e5b133a127ff2a34689e679397bdd211fa2aada6.tar.gz |
ctdb-protocol: Add new control CTDB_CONTROL_CHECK_PID_SRVID
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13042
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/protocol')
-rw-r--r-- | ctdb/protocol/protocol.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ctdb/protocol/protocol.h b/ctdb/protocol/protocol.h index 3c57e20ffa0..ed5deb8c629 100644 --- a/ctdb/protocol/protocol.h +++ b/ctdb/protocol/protocol.h @@ -369,6 +369,7 @@ enum ctdb_controls {CTDB_CONTROL_PROCESS_EXISTS = 0, CTDB_CONTROL_DB_PUSH_CONFIRM = 148, CTDB_CONTROL_DB_OPEN_FLAGS = 149, CTDB_CONTROL_DB_ATTACH_REPLICATED = 150, + CTDB_CONTROL_CHECK_PID_SRVID = 151, }; #define MAX_COUNT_BUCKETS 16 @@ -840,6 +841,11 @@ enum ctdb_runstate { CTDB_RUNSTATE_SHUTDOWN, }; +struct ctdb_pid_srvid { + pid_t pid; + uint64_t srvid; +}; + struct ctdb_req_control_data { uint32_t opcode; union { @@ -876,6 +882,7 @@ struct ctdb_req_control_data { struct ctdb_key_data *key; struct ctdb_traverse_start_ext *traverse_start_ext; struct ctdb_traverse_all_ext *traverse_all_ext; + struct ctdb_pid_srvid *pid_srvid; } data; }; |