Motr  M0
m0_layout_plop_ops Struct Reference

#include <plan.h>

Collaboration diagram for m0_layout_plop_ops:
Collaboration graph

Data Fields

void(* po_cancel )(struct m0_layout_plop *plop)
 
void(* po_fini )(struct m0_layout_plop *plop)
 

Detailed Description

Set of user-supplied operations that the implementation invokes when an event related to the plop happens asynchronously.

Definition at line 431 of file plan.h.

Field Documentation

◆ po_cancel

void(* po_cancel) (struct m0_layout_plop *plop)

The implementation invokes this for a still not complete plop, when its processing is no longer necessary, for example, because the plan changed due to a failure or plop execution was opportunistic in the first place.

The user is expected to cancel plop processing if possible. It is always correct to ignore this call.

Definition at line 441 of file plan.h.

◆ po_fini

void(* po_fini) (struct m0_layout_plop *plop)

The implementation invokes this when it no longer needs the plop. The user can free user data associated with the plop. The plop cannot be accessed by the user after this call returns.

The plop structure will be freed by the implementation.

Definition at line 449 of file plan.h.


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