#include "lib/mutex.h"
#include "lib/chan.h"
#include "lib/tlist.h"
#include "fop/fop.h"
#include "sm/sm.h"
#include "conf/confc.h"
#include "ha/entrypoint_fops.h"
Go to the source code of this file.
|
enum | m0_rconfc_state {
M0_RCS_INIT,
M0_RCS_ENTRYPOINT_WAIT,
M0_RCS_ENTRYPOINT_CONSUME,
M0_RCS_CREDITOR_SETUP,
M0_RCS_GET_RLOCK,
M0_RCS_VERSION_ELECT,
M0_RCS_IDLE,
M0_RCS_RLOCK_CONFLICT,
M0_RCS_CONDUCTOR_DRAIN,
M0_RCS_CONDUCTOR_DISCONNECT,
M0_RCS_STOPPING,
M0_RCS_FAILURE,
M0_RCS_FINAL
} |
|
|
M0_INTERNAL int | m0_rconfc_init (struct m0_rconfc *rconfc, const struct m0_fid *profile, struct m0_sm_group *sm_group, struct m0_rpc_machine *rmach, m0_rconfc_cb_t expired_cb, m0_rconfc_cb_t ready_cb) |
|
M0_INTERNAL int | m0_rconfc_start (struct m0_rconfc *rconfc) |
|
M0_INTERNAL int | m0_rconfc_start_wait (struct m0_rconfc *rconfc, uint64_t timeout_ns) |
|
static int | m0_rconfc_start_sync (struct m0_rconfc *rconfc) |
|
M0_INTERNAL void | m0_rconfc_stop (struct m0_rconfc *rconfc) |
|
M0_INTERNAL void | m0_rconfc_stop_sync (struct m0_rconfc *rconfc) |
|
M0_INTERNAL void | m0_rconfc_fini (struct m0_rconfc *rconfc) |
|
M0_INTERNAL void | m0_rconfc_lock (struct m0_rconfc *rconfc) |
|
M0_INTERNAL void | m0_rconfc_unlock (struct m0_rconfc *rconfc) |
|
M0_INTERNAL uint64_t | m0_rconfc_ver_max_read (struct m0_rconfc *rconfc) |
|
M0_INTERNAL void | m0_rconfc_fatal_cb_set (struct m0_rconfc *rconfc, m0_rconfc_cb_t cb) |
|
M0_INTERNAL int | m0_rconfc_confd_endpoints (struct m0_rconfc *rconfc, const char ***eps) |
|
M0_INTERNAL int | m0_rconfc_rm_endpoint (struct m0_rconfc *rconfc, char **ep) |
|
M0_INTERNAL void | m0_rconfc_rm_fid (struct m0_rconfc *rconfc, struct m0_fid *out) |
|
M0_INTERNAL bool | m0_rconfc_is_preloaded (struct m0_rconfc *rconfc) |
|
M0_INTERNAL bool | m0_rconfc_reading_is_allowed (const struct m0_rconfc *rconfc) |
|
◆ __MOTR_CONF_RCONFC_H__
#define __MOTR_CONF_RCONFC_H__ |