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

Data Fields

struct m0_cas_statecs_state
 
struct m0_mutex cs_state_mutex
 
struct m0_cas_ctgcs_ctidx
 
struct m0_cas_ctgcs_dead_index
 
struct m0_long_lock cs_del_lock
 
struct m0_ref cs_ref
 
struct m0_be_domaincs_be_domain
 
bool cs_initialised
 

Detailed Description

Definition at line 42 of file ctg_store.c.

Field Documentation

◆ cs_be_domain

struct m0_be_domain* cs_be_domain

BE domain the catalogue store is working with.

Definition at line 74 of file ctg_store.c.

◆ cs_ctidx

struct m0_cas_ctg* cs_ctidx

Catalogue-index catalogue.

Definition at line 50 of file ctg_store.c.

◆ cs_dead_index

struct m0_cas_ctg* cs_dead_index

Records from cs_meta are moved there on idx delete. To be used by deleted index garbage collector.

Definition at line 56 of file ctg_store.c.

◆ cs_del_lock

struct m0_long_lock cs_del_lock

"Delete" lock to exclude possible race, where repair/re-balance service sends the old value concurrently with record deletion.

See also
m0_ctg_del_lock().

Definition at line 63 of file ctg_store.c.

◆ cs_initialised

bool cs_initialised

Flag indicating whether catalogue store is initialised or not.

Definition at line 79 of file ctg_store.c.

◆ cs_ref

struct m0_ref cs_ref

Reference counter for number of catalogue store users. When it drops to 0, catalogue store structure is finalised.

Definition at line 69 of file ctg_store.c.

◆ cs_state

struct m0_cas_state* cs_state

The part of a catalogue store persisted on a disk.

Definition at line 44 of file ctg_store.c.

◆ cs_state_mutex

struct m0_mutex cs_state_mutex

Mutex to protect cs_state counters updates.

Definition at line 47 of file ctg_store.c.


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