Motr  M0
m0_conf_diter Struct Reference

#include <diter.h>

Collaboration diagram for m0_conf_diter:
Collaboration graph

Data Fields

struct m0_confcdi_confc
 
struct m0_conf_objdi_origin
 
struct m0_conf_diter_lvldi_lvls
 
uint32_t di_phase
 
struct m0_clink di_clink
 
struct m0_chan di_wait
 
struct m0_mutex di_wait_mutex
 
uint32_t di_nr_lvls
 
uint32_t di_lvl
 
bool di_locked
 

Detailed Description

Configuration directory iterator.

Uses depth-first traversal.

See also
m0_conf_diter_next()

Definition at line 197 of file diter.h.

Field Documentation

◆ di_clink

struct m0_clink di_clink

Link to receive configuration operation completion notification.

Definition at line 206 of file diter.h.

◆ di_confc

struct m0_confc* di_confc

Definition at line 198 of file diter.h.

◆ di_locked

bool di_locked

Flag determines if diter is protected by locality lock or not. This field is workaround for a case when m0_conf_diter_next() or m0_conf_diter_fini() are called under locality lock which protects m0_confc_ctx::fc_mach.

See also
MOTR-1307

Definition at line 226 of file diter.h.

◆ di_lvl

uint32_t di_lvl

Current level.

Definition at line 217 of file diter.h.

◆ di_lvls

struct m0_conf_diter_lvl* di_lvls

Configuration directory levels on which the iterator iterates.

Definition at line 202 of file diter.h.

◆ di_nr_lvls

uint32_t di_nr_lvls

Definition at line 215 of file diter.h.

◆ di_origin

struct m0_conf_obj* di_origin

Configuration object from which the iterator begins.

Definition at line 200 of file diter.h.

◆ di_phase

uint32_t di_phase

Current phase of the iterator.

Definition at line 204 of file diter.h.

◆ di_wait

struct m0_chan di_wait

Channel for external users to wait on for asynchronous operations. This is signalled once the operation completion event is received on .

Definition at line 212 of file diter.h.

◆ di_wait_mutex

struct m0_mutex di_wait_mutex

Definition at line 213 of file diter.h.


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