Motr
M0
|
Data Structures | |
struct | m0_conf_flip_fom |
struct | m0_conf_load_fom |
Enumerations | |
enum | m0_conf_flip_fom_phase { M0_FOPH_CONF_FLIP_PREPARE = M0_FOPH_NR + 1, M0_FOPH_CONF_APPLY } |
enum | m0_conf_load_fom_phase { M0_FOPH_CONF_FOM_PREPARE = M0_FOPH_NR + 1, M0_FOPH_CONF_FOM_BUFFER_ALLOCATE, M0_FOPH_CONF_ZERO_COPY_INIT, M0_FOPH_CONF_ZERO_COPY_WAIT, M0_FOPH_CONF_BUFFER_FREE } |
Functions | |
M0_INTERNAL int | m0_conf_flip_fom_create (struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh) |
M0_INTERNAL int | m0_conf_load_fom_create (struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh) |
Fop state machine for Spiel operations
FOP state machines for various Spiel operation
The various phases for Confd flip FOM. complete FOM and reqh infrastructure is in place.
Enumerator | |
---|---|
M0_FOPH_CONF_FLIP_PREPARE | |
M0_FOPH_CONF_APPLY |
Definition at line 69 of file flip_fom.h.
The various phases for Confd load FOM. complete FOM and reqh infrastructure is in place.
Enumerator | |
---|---|
M0_FOPH_CONF_FOM_PREPARE | |
M0_FOPH_CONF_FOM_BUFFER_ALLOCATE | |
M0_FOPH_CONF_ZERO_COPY_INIT | |
M0_FOPH_CONF_ZERO_COPY_WAIT | |
M0_FOPH_CONF_BUFFER_FREE |
Definition at line 72 of file load_fom.h.
M0_INTERNAL int m0_conf_flip_fom_create | ( | struct m0_fop * | fop, |
struct m0_fom ** | out, | ||
struct m0_reqh * | reqh | ||
) |
Create and initiate Spiel FOM and return generic struct m0_fom Find the corresponding fom_type and associate it with m0_fom. Associate fop with fom type.
fop | file operation packet need to process |
out | file operation machine need to allocate and initiate |
Definition at line 121 of file flip_fom.c.
M0_INTERNAL int m0_conf_load_fom_create | ( | struct m0_fop * | fop, |
struct m0_fom ** | out, | ||
struct m0_reqh * | reqh | ||
) |
Creates and initiates Spiel FOM and return generic struct m0_fom Find the corresponding fom_type and associate it with m0_fom. Associate fop with fom type.
fop | file operation packet need to process |
out | file operation machine need to allocate and initiate |
Definition at line 119 of file load_fom.c.