#include "lib/tlist.h"
#include "lib/mutex.h"
#include "ha/dispatcher.h"
#include "lib/cookie.h"
#include "ha/note.h"
#include "xcode/xcode_attr.h"
#include "ha/note_xc.h"
#include "lib/cookie_xc.h"
Go to the source code of this file.
|
struct m0_ha_msg_failure_vec_req | M0_XCA_DOMAIN (rpc) |
|
M0_INTERNAL int | m0_ha_fvec_handler_init (struct m0_ha_fvec_handler *hfh, struct m0_ha_dispatcher *hd) |
|
M0_INTERNAL void | m0_ha_fvec_handler_fini (struct m0_ha_fvec_handler *hfh) |
|
M0_INTERNAL int | m0_ha_fvec_handler_add (struct m0_ha_fvec_handler *hfh, const struct m0_fid *pool_fid, struct m0_poolmach *pool_mach, struct m0_chan *chan, struct m0_cookie *cookie) |
|
M0_INTERNAL int | m0_ha_msg_fvec_send (const struct m0_fid *pool_fid, const struct m0_cookie *req_cookie, struct m0_ha_link *hl, uint32_t type) |
|
M0_INTERNAL void | m0_ha_fvec_req_handler (struct m0_ha_fvec_handler *hfh, const struct m0_ha_msg *msg, struct m0_ha_link *hl) |
|
M0_INTERNAL void | m0_ha_fvec_rep_handler (struct m0_ha_fvec_handler *hfh, const struct m0_ha_msg *msg) |
|
M0_INTERNAL int | m0_ha_failvec_fetch (const struct m0_fid *pool_fid, struct m0_poolmach *pmach, struct m0_chan *chan) |
|
◆ __MOTR_HA_FAILVEC_H__
#define __MOTR_HA_FAILVEC_H__ |
◆ m0_ha_failvec_fetch()
M0_INTERNAL int m0_ha_failvec_fetch |
( |
const struct m0_fid * |
pool_fid, |
|
|
struct m0_poolmach * |
pmach, |
|
|
struct m0_chan * |
chan |
|
) |
| |
Requests for the failure vector for the given pool machine.
Definition at line 208 of file failvec.c.
◆ m0_ha_fvec_handler_add()
◆ m0_ha_fvec_handler_fini()
◆ m0_ha_fvec_handler_init()
◆ m0_ha_fvec_rep_handler()
Applies the received failure vector to respective pool-machine.
Definition at line 165 of file failvec.c.
◆ m0_ha_fvec_req_handler()
Handles requests to fetch failure vector.
Definition at line 191 of file failvec.c.
◆ m0_ha_msg_fvec_send()
M0_INTERNAL int m0_ha_msg_fvec_send |
( |
const struct m0_fid * |
pool_fid, |
|
|
const struct m0_cookie * |
req_cookie, |
|
|
struct m0_ha_link * |
hl, |
|
|
uint32_t |
type |
|
) |
| |
Sends an HA message to store/fetch the failure vector from HA.
Definition at line 275 of file failvec.c.
◆ M0_XCA_DOMAIN()
◆ M0_XCA_DOMAIN
◆ mfp_cookie
◆ mfp_nr
◆ mfp_pool
◆ mfp_vec
◆ mfq_cookie
◆ mfq_pool