Motr
M0
|
#include <conf_mgmt.h>
Data Fields | |
struct m0_rpc_machine * | wlc_rmach |
struct m0_rpc_conn | wlc_conn |
struct m0_rpc_session | wlc_sess |
char * | wlc_rm_addr |
struct m0_fid | wlc_rm_fid |
struct m0_rw_lockable | wlc_rwlock |
struct m0_rm_owner | wlc_owner |
struct m0_fid | wlc_owner_fid |
struct m0_rm_remote | wlc_creditor |
struct m0_rm_incoming | wlc_req |
struct m0_semaphore | wlc_sem |
struct m0_rm_domain | wlc_dom |
struct m0_rm_resource_type | wlc_rt |
int32_t | wlc_rc |
Spiel write lock context. Intended for taking write lock along transaction commission. When obtaining write lock, all read locks are revoked across entire cluster. Later read locks become obtainable only when write lock appears released explicitly.
Definition at line 53 of file conf_mgmt.h.
struct m0_rpc_conn wlc_conn |
rpc connection
Definition at line 55 of file conf_mgmt.h.
struct m0_rm_remote wlc_creditor |
remote creditor
Definition at line 62 of file conf_mgmt.h.
struct m0_rm_domain wlc_dom |
Write resource domain. Needs to be separate from global read domain used by rconfc instances. (see m0_rwlockable_read_domain())
Definition at line 70 of file conf_mgmt.h.
struct m0_rm_owner wlc_owner |
local owner-borrower
Definition at line 60 of file conf_mgmt.h.
struct m0_fid wlc_owner_fid |
owner fid
Definition at line 61 of file conf_mgmt.h.
int32_t wlc_rc |
result code of write lock request
Definition at line 77 of file conf_mgmt.h.
struct m0_rm_incoming wlc_req |
request to wait on
Definition at line 63 of file conf_mgmt.h.
char* wlc_rm_addr |
HA-reported RM address
Definition at line 57 of file conf_mgmt.h.
struct m0_fid wlc_rm_fid |
HA-reported RM fid
Definition at line 58 of file conf_mgmt.h.
struct m0_rpc_machine* wlc_rmach |
rpc machine
Definition at line 54 of file conf_mgmt.h.
struct m0_rm_resource_type wlc_rt |
Write resource type. Needs to be registered with the write resource domain.
Definition at line 75 of file conf_mgmt.h.
struct m0_rw_lockable wlc_rwlock |
lockable resource
Definition at line 59 of file conf_mgmt.h.
struct m0_semaphore wlc_sem |
semaphore to wait until request is completed
Definition at line 65 of file conf_mgmt.h.
struct m0_rpc_session wlc_sess |
rpc session
Definition at line 56 of file conf_mgmt.h.