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

Data Fields

int(* fpd_action )(struct m0_fom *fom)
 
int fpd_nextphase
 
const char * fpd_name
 
uint64_t fpd_pre_phase
 

Detailed Description

Fom phase descriptor structure, helps to transition fom through its standard phases

Definition at line 111 of file fom_generic.c.

Field Documentation

◆ fpd_action

int(* fpd_action) (struct m0_fom *fom)

Perfoms actions corresponding to a particular standard fom phase, as defined.

Return values
returnsM0_FSO_AGAIN, this transitions fom to its next phase
See also
m0_fom_tick_generic()

Definition at line 120 of file fom_generic.c.

◆ fpd_name

const char* fpd_name

Fom phase name in user readable format.

Definition at line 129 of file fom_generic.c.

◆ fpd_nextphase

int fpd_nextphase

Next phase the fom should transition into, after successfully completing the current phase execution.

Definition at line 125 of file fom_generic.c.

◆ fpd_pre_phase

uint64_t fpd_pre_phase

Bitmap representation of the fom phase. This is used in pre condition checks before executing fom phase action.

See also
m0_fom_tick_generic()

Definition at line 137 of file fom_generic.c.


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