Motr  M0
m0_cm_aggr_group_ops Struct Reference

#include <ag.h>

Collaboration diagram for m0_cm_aggr_group_ops:
Collaboration graph

Data Fields

bool(* cago_ag_can_fini )(const struct m0_cm_aggr_group *ag)
 
void(* cago_fini )(struct m0_cm_aggr_group *ag)
 
uint64_t(* cago_local_cp_nr )(const struct m0_cm_aggr_group *ag)
 
bool(* cago_has_incoming_from )(struct m0_cm_aggr_group *ag, struct m0_cm_proxy *proxy)
 
bool(* cago_is_frozen_on )(struct m0_cm_aggr_group *ag, struct m0_cm_proxy *proxy)
 

Detailed Description

Definition at line 131 of file ag.h.

Field Documentation

◆ cago_ag_can_fini

bool(* cago_ag_can_fini) (const struct m0_cm_aggr_group *ag)

Checks if aggregation group can be finalized using members of the aggregation group and copy packet to be finalised.y

Precondition
ag != NULL && cp != NULL

Definition at line 137 of file ag.h.

◆ cago_fini

void(* cago_fini) (struct m0_cm_aggr_group *ag)

Performs aggregation group completion processing.

Definition at line 140 of file ag.h.

◆ cago_has_incoming_from

bool(* cago_has_incoming_from) (struct m0_cm_aggr_group *ag, struct m0_cm_proxy *proxy)

Definition at line 148 of file ag.h.

◆ cago_is_frozen_on

bool(* cago_is_frozen_on) (struct m0_cm_aggr_group *ag, struct m0_cm_proxy *proxy)

Identifies if given aggregation group is frozen on given , i.e there won't be any further incoming copy packets from the . A can be NULL in case of an environment with just one copy machine but we need to check for locally frozen aggregation groups.

Definition at line 157 of file ag.h.

◆ cago_local_cp_nr

uint64_t(* cago_local_cp_nr) (const struct m0_cm_aggr_group *ag)

Returns number of copy packets corresponding to the aggregation group on the local node.

Definition at line 146 of file ag.h.


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