Motr
M0
|
#include "xcode/xcode_attr.h"
#include "lib/types.h"
#include "lib/buf.h"
#include "fid/fid.h"
#include "ha/link_fops.h"
#include "ha/cookie.h"
#include "lib/buf_xc.h"
#include "lib/types_xc.h"
#include "fid/fid_xc.h"
#include "ha/link_fops_xc.h"
#include "ha/cookie_xc.h"
Go to the source code of this file.
Data Structures | |
struct | m0_ha_entrypoint_rep_fop |
struct | m0_ha_entrypoint_req_fop |
struct | m0_ha_entrypoint_req |
struct | m0_ha_entrypoint_rep |
Macros | |
#define | __MOTR_HA_ENTRYPOINT_FOPS_H__ |
Enumerations | |
enum | m0_ha_entrypoint_control { M0_HA_ENTRYPOINT_CONSUME, M0_HA_ENTRYPOINT_QUIT, M0_HA_ENTRYPOINT_QUERY } |
Functions | |
struct m0_ha_cookie_xc | M0_XCA_DOMAIN (rpc) |
M0_INTERNAL void | m0_ha_entrypoint_fops_init (void) |
M0_INTERNAL void | m0_ha_entrypoint_fops_fini (void) |
M0_INTERNAL int | m0_ha_entrypoint_req2fop (const struct m0_ha_entrypoint_req *req, struct m0_ha_entrypoint_req_fop *req_fop) |
M0_INTERNAL int | m0_ha_entrypoint_fop2req (const struct m0_ha_entrypoint_req_fop *req_fop, const char *rpc_endpoint, struct m0_ha_entrypoint_req *req) |
M0_INTERNAL int | m0_ha_entrypoint_fop2rep (const struct m0_ha_entrypoint_rep_fop *rep_fop, struct m0_ha_entrypoint_rep *rep) |
M0_INTERNAL int | m0_ha_entrypoint_rep2fop (const struct m0_ha_entrypoint_rep *rep, struct m0_ha_entrypoint_rep_fop *rep_fop) |
M0_INTERNAL void | m0_ha_entrypoint_rep_free (struct m0_ha_entrypoint_rep *rep) |
M0_INTERNAL void | m0_ha_entrypoint_req_free (struct m0_ha_entrypoint_req *req) |
M0_INTERNAL int | m0_ha_entrypoint_rep_copy (struct m0_ha_entrypoint_rep *to, struct m0_ha_entrypoint_rep *from) |
Variables | |
uint32_t | hbp_quorum |
struct m0_fid_arr | hbp_confd_fids |
struct m0_bufs | hbp_confd_eps |
struct m0_fid | hbp_active_rm_fid |
struct m0_buf | hbp_active_rm_ep |
uint32_t | hbp_control |
struct m0_ha_link_params | hbp_link_params |
uint64_t | hbp_link_do_reconnect |
uint32_t | hbp_disconnected_previously |
struct m0_ha_cookie_xc | hbp_cookie_actual |
int32_t | erf_first_request |
uint64_t | erf_generation |
struct m0_fid | erf_process_fid |
struct m0_ha_link_params | erf_link_params |
struct m0_buf | erf_git_rev_id |
uint64_t | erf_pid |
struct m0_ha_cookie_xc | erf_cookie_expected |
struct m0_ha_entrypoint_req | M0_XCA_DOMAIN |
struct m0_fop_type | m0_ha_entrypoint_req_fopt |
struct m0_fop_type | m0_ha_entrypoint_rep_fopt |
#define __MOTR_HA_ENTRYPOINT_FOPS_H__ |
Definition at line 26 of file entrypoint_fops.h.
struct m0_ha_cookie_xc erf_cookie_expected |
Definition at line 226 of file entrypoint_fops.h.
int32_t erf_first_request |
Definition at line 220 of file entrypoint_fops.h.
uint64_t erf_generation |
Definition at line 221 of file entrypoint_fops.h.
struct m0_buf erf_git_rev_id |
Definition at line 224 of file entrypoint_fops.h.
struct m0_ha_link_params erf_link_params |
Definition at line 223 of file entrypoint_fops.h.
uint64_t erf_pid |
Definition at line 225 of file entrypoint_fops.h.
struct m0_fid erf_process_fid |
Definition at line 222 of file entrypoint_fops.h.
struct m0_buf hbp_active_rm_ep |
RPC endpoint of RM service.
Definition at line 242 of file entrypoint_fops.h.
struct m0_fid hbp_active_rm_fid |
Fid of RM service maintaining read/write access to configuration database. The same fid should be present in configuration database tree.
Definition at line 238 of file entrypoint_fops.h.
struct m0_bufs hbp_confd_eps |
RPC endpoints of confd services.
Definition at line 232 of file entrypoint_fops.h.
struct m0_fid_arr hbp_confd_fids |
Fids of confd services replicating configuration database. The same Fids should be present in configuration database tree.
Definition at line 230 of file entrypoint_fops.h.
uint32_t hbp_control |
Data passed back to client to control query flow
Definition at line 245 of file entrypoint_fops.h.
struct m0_ha_cookie_xc hbp_cookie_actual |
Definition at line 259 of file entrypoint_fops.h.
uint32_t hbp_disconnected_previously |
Definition at line 256 of file entrypoint_fops.h.
uint64_t hbp_link_do_reconnect |
Definition at line 249 of file entrypoint_fops.h.
struct m0_ha_link_params hbp_link_params |
Definition at line 248 of file entrypoint_fops.h.
uint32_t hbp_quorum |
Minimum number of confd servers agreed upon current configuration version in cluster. Client shouldn't access configuration if this quorum value is not reached.
Definition at line 225 of file entrypoint_fops.h.