Motr  M0
wlock_ctx Struct Reference
Collaboration diagram for wlock_ctx:
Collaboration graph

Data Fields

struct m0_rpc_machinewlc_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
 

Detailed Description

Definition at line 30 of file wlock_helper.c.

Field Documentation

◆ wlc_conn

struct m0_rpc_conn wlc_conn

rpc connection

Definition at line 32 of file wlock_helper.c.

◆ wlc_creditor

struct m0_rm_remote wlc_creditor

remote creditor

Definition at line 39 of file wlock_helper.c.

◆ wlc_dom

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 47 of file wlock_helper.c.

◆ wlc_owner

struct m0_rm_owner wlc_owner

local owner-borrower

Definition at line 37 of file wlock_helper.c.

◆ wlc_owner_fid

struct m0_fid wlc_owner_fid

owner fid

Definition at line 38 of file wlock_helper.c.

◆ wlc_rc

int32_t wlc_rc

result code of write lock request

Definition at line 54 of file wlock_helper.c.

◆ wlc_req

struct m0_rm_incoming wlc_req

request to wait on

Definition at line 40 of file wlock_helper.c.

◆ wlc_rm_addr

char* wlc_rm_addr

HA-reported RM address

Definition at line 34 of file wlock_helper.c.

◆ wlc_rm_fid

struct m0_fid wlc_rm_fid

HA-reported RM fid

Definition at line 35 of file wlock_helper.c.

◆ wlc_rmach

struct m0_rpc_machine* wlc_rmach

rpc machine

Definition at line 31 of file wlock_helper.c.

◆ wlc_rt

struct m0_rm_resource_type wlc_rt

Write resource type. Needs to be registered with the write resource domain.

Definition at line 52 of file wlock_helper.c.

◆ wlc_rwlock

struct m0_rw_lockable wlc_rwlock

lockable resource

Definition at line 36 of file wlock_helper.c.

◆ wlc_sem

struct m0_semaphore wlc_sem

semaphore to wait until request is completed

Definition at line 42 of file wlock_helper.c.

◆ wlc_sess

struct m0_rpc_session wlc_sess

rpc session

Definition at line 33 of file wlock_helper.c.


The documentation for this struct was generated from the following file: