Implementation of sliding window update FOM. Provides mechanism to handle blocking operations like local sliding update and updating the persistent store with new sliding window. Provides interfaces to start, wakeup (if idle) and stop the sliding window update FOM.
◆ cm_sw_update_fom_phase
◆ cm_fom2swu()
◆ cm_swu2cm()
◆ cm_swu_fom_fini()
static void cm_swu_fom_fini |
( |
struct m0_fom * |
fom | ) |
|
|
static |
◆ cm_swu_fom_locality()
static uint64_t cm_swu_fom_locality |
( |
const struct m0_fom * |
fom | ) |
|
|
static |
◆ cm_swu_fom_tick()
static int cm_swu_fom_tick |
( |
struct m0_fom * |
fom | ) |
|
|
static |
◆ m0_cm_sw_update_complete()
M0_INTERNAL void m0_cm_sw_update_complete |
( |
struct m0_cm * |
cm | ) |
|
◆ m0_cm_sw_update_init()
M0_INTERNAL void m0_cm_sw_update_init |
( |
struct m0_cm_type * |
cmtype | ) |
|
◆ m0_cm_sw_update_start()
M0_INTERNAL void m0_cm_sw_update_start |
( |
struct m0_cm * |
cm | ) |
|
Starts sliding window update FOM by submitting the corresponding FOM to request handler.
Definition at line 165 of file sw_update_fom.c.
◆ swu_update()
◆ cm_sw_update_conf
Initial value:= {
.scf_name = "sm: sw update conf",
}
static struct m0_sm_state_descr cm_sw_update_sd[SWU_NR]
Definition at line 75 of file sw_update_fom.c.
◆ cm_sw_update_fom_ops
Initial value:= {
}
static uint64_t cm_swu_fom_locality(const struct m0_fom *fom)
static int cm_swu_fom_tick(struct m0_fom *fom)
static void cm_swu_fom_fini(struct m0_fom *fom)
Definition at line 152 of file sw_update_fom.c.
◆ cm_sw_update_fom_type_ops
◆ cm_sw_update_sd
Initial value:= {
.sd_name = "Update",
},
.sd_name = "Fini",
.sd_allowed = 0
},
}
Definition at line 62 of file sw_update_fom.c.
◆ swu_action
Initial value:= {
}
static int swu_update(struct m0_cm_sw_update *swu)
Definition at line 101 of file sw_update_fom.c.