Motr  M0
m0_addb2_storage_ops Struct Reference

#include <storage.h>

Collaboration diagram for m0_addb2_storage_ops:
Collaboration graph

Data Fields

void(* sto_idle )(struct m0_addb2_storage *stor)
 
void(* sto_done )(struct m0_addb2_storage *stor, struct m0_addb2_trace_obj *obj)
 
void(* sto_commit )(struct m0_addb2_storage *stor, const struct m0_addb2_frame_header *anchor)
 

Detailed Description

Operation vector passed to m0_addb2_storgae_init() by the SYSTEM.

Definition at line 69 of file storage.h.

Field Documentation

◆ sto_commit

void(* sto_commit) (struct m0_addb2_storage *stor, const struct m0_addb2_frame_header *anchor)

This is called inform the SYSTEM about the position of the last written trace.

Definition at line 84 of file storage.h.

◆ sto_done

void(* sto_done) (struct m0_addb2_storage *stor, struct m0_addb2_trace_obj *obj)

This is called after processing a trace object.

Definition at line 78 of file storage.h.

◆ sto_idle

void(* sto_idle) (struct m0_addb2_storage *stor)

This is invoked by the storage component after stopped m0_addb2_storage() completed processing the last trace.

Definition at line 74 of file storage.h.


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