Motr
M0
|
Variables | |
const struct m0_fom_ops | conf_flip_fom_ops |
const struct m0_fom_type_ops | conf_flip_fom_type_ops |
struct m0_sm_state_descr | conf_flip_phases [] |
struct m0_sm_conf | conf_flip_conf |
const struct m0_fom_ops | conf_load_fom_ops |
const struct m0_fom_type_ops | conf_load_fom_type_ops |
struct m0_sm_state_descr | conf_load_phases [] |
struct m0_sm_conf | conf_load_conf |
|
static |
After successful FLIP completion, rconfc appears retaining an outdated conf cache. To the moment, local conf file is already updated by FLIP action. So it is ultimately possible to do a simple conf reload with the newly saved conf to update the conf cache hosted by rconfc internals.
Definition at line 192 of file flip_fom.c.
|
static |
Finalises bufvec and free allocated memory.
fom | instance file operation machine under execution |
Definition at line 418 of file load_fom.c.
|
static |
Apply Flip command Change Confd configuration
fom | file operation machine. |
Definition at line 242 of file flip_fom.c.
|
static |
Definition at line 161 of file flip_fom.c.
|
static |
Finalise of Spiel file operation machine. This is the right place to free all resources acquired by FOM
fom | instance file operation machine under execution |
Definition at line 357 of file flip_fom.c.
|
static |
|
static |
Compare equals Spiel FOP - Spiel FOM
Definition at line 103 of file flip_fom.c.
|
static |
Phase transition for the Spiel FLIP operation.
fom | instance file operation machine under execution |
Definition at line 312 of file flip_fom.c.
|
static |
Definition at line 153 of file flip_fom.c.
|
static |
Copies data from FOM Net buffer field to IO STOB STOB domain is placed to confd configure file folder FID consists to old version, new version and TX id
conf_fom | file operation machine. |
Definition at line 342 of file load_fom.c.
|
static |
Finalises Spiel file operation machine. This is the right place to free all resources acquired by FOM
fom | instance file operation machine under execution |
Definition at line 495 of file load_fom.c.
|
static |
|
static |
|
static |
Phase transition for the Spiel Load operation.
Definition at line 449 of file load_fom.c.
|
static |
Allocates a network buffer for process bulk request.
fom | file operation machine instance. |
Definition at line 201 of file load_fom.c.
|
static |
Prepares FOM data. Set current Confd version as FOP report parameter.
fom | file operation machine instance. |
Definition at line 161 of file load_fom.c.
|
static |
Zero-copy Finish Checks for zero-copy result.
fom | file operation machine. |
Definition at line 379 of file load_fom.c.
|
static |
Initiates zero-copy for batch of descriptors. And wait for zero-copy to complete for all descriptors. Network layer signaled on m0_rpc_bulk::rb_chan on completion.
fom | file operation machine. |
Definition at line 251 of file load_fom.c.
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.
M0_TL_DECLARE | ( | m0_conf_cache | , |
M0_INTERNAL | , | ||
struct m0_conf_obj | |||
) |
M0_TL_DESCR_DECLARE | ( | rpcbulk | , |
M0_EXTERN | |||
) |
struct m0_sm_conf conf_flip_conf |
Definition at line 94 of file flip_fom.c.
const struct m0_fom_ops conf_flip_fom_ops |
Spiel Load FOM operation vector.
Definition at line 63 of file flip_fom.c.
const struct m0_fom_type_ops conf_flip_fom_type_ops |
Spiel Load FOM type operation vector.
Definition at line 72 of file flip_fom.c.
struct m0_sm_state_descr conf_flip_phases[] |
Spiel FOM state transition table.
Definition at line 79 of file flip_fom.c.
struct m0_sm_conf conf_load_conf |
Definition at line 96 of file load_fom.c.
const struct m0_fom_ops conf_load_fom_ops |
Spiel Load FOM operation vector.
Definition at line 50 of file load_fom.c.
const struct m0_fom_type_ops conf_load_fom_type_ops |
Spiel Load FOM type operation vector.
Definition at line 59 of file load_fom.c.
struct m0_sm_state_descr conf_load_phases[] |
Spiel FOM state transition table.
Definition at line 66 of file load_fom.c.