Motr
M0
|
#include <client_internal.h>
Data Fields | |
struct m0_rw_lockable | rmc_rw_file |
struct m0_rm_owner | rmc_owner |
struct m0_rm_remote | rmc_creditor |
struct m0_fid | rmc_key |
struct m0_fid | rmc_own_fid |
struct m0_ref | rmc_ref |
struct m0_htable * | rmc_htable |
struct m0_hlink | rmc_hlink |
uint64_t | rmc_magic |
uint64_t | rmc_gen |
Represents the context needed for the RM to lock and unlock object resources (here motr objects).
Definition at line 640 of file client_internal.h.
struct m0_rm_remote rmc_creditor |
Remote portal for requesting resource from creditor.
Definition at line 649 of file client_internal.h.
uint64_t rmc_gen |
A generation count for cookie associated with this ctx.
Definition at line 665 of file client_internal.h.
struct m0_hlink rmc_hlink |
A linkage in hash-table for storing RM lock contexts.
Definition at line 662 of file client_internal.h.
struct m0_htable* rmc_htable |
back pointer to hash-table where this rm_ctx will be stored.
Definition at line 660 of file client_internal.h.
struct m0_fid rmc_key |
Key for the hash-table
Definition at line 651 of file client_internal.h.
uint64_t rmc_magic |
Definition at line 663 of file client_internal.h.
struct m0_fid rmc_own_fid |
Fid for resource owner
Definition at line 653 of file client_internal.h.
struct m0_rm_owner rmc_owner |
An owner for maintaining file locks.
Definition at line 647 of file client_internal.h.
struct m0_ref rmc_ref |
Reference counter to book keep how many operations are using this rm_ctx.
Definition at line 658 of file client_internal.h.
struct m0_rw_lockable rmc_rw_file |
Locking mechanism provided by RM, rmc_rw_file::rwl_fid contains fid of gob.
Definition at line 645 of file client_internal.h.