ctdb-daemon: New control CTDB_CONTROL_GET_NODES_FILE
commit81e526965c017193e5fe1556de4f594515cf1ec1
authorMartin Schwenke <martin@meltin.net>
Fri, 20 Feb 2015 10:19:01 +0000 (20 21:19 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 23 Mar 2015 11:23:12 +0000 (23 12:23 +0100)
treeb5ebf13a51fde3d67e6138c37029d1d310b0f7e4
parent8e12e112f8fe14716f6a1a0f07783c7df03db3b9
ctdb-daemon: New control CTDB_CONTROL_GET_NODES_FILE

This is like CTDB_CONTROL_GET_NODEMAP but it loads from the nodes file
instead of the daemon.

Also new client function ctdb_ctrl_getnodesfile()

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/client/ctdb_client.c
ctdb/include/ctdb_client.h
ctdb/include/ctdb_private.h
ctdb/include/ctdb_protocol.h
ctdb/server/ctdb_control.c
ctdb/server/ctdb_daemon.c