Motr  M0
m0_spiel_tx Struct Reference

#include <spiel.h>

Collaboration diagram for m0_spiel_tx:
Collaboration graph

Data Fields

struct m0_spielspt_spiel
 
struct m0_conf_cache spt_cache
 
struct m0_mutex spt_lock
 
char * spt_buffer
 

Detailed Description

The following example shows how to use configuration management commands. Note * that if one of *_add commands returns result code other than 0, -EEXIST, -EINVAL further calling of *_add commands or tx_commit doesn't make sense.

struct m0_spiel_tx *tx;
struct m0_spiel *spiel;
int rc;
rc = m0_spiel_root_add(tx, ...) ?:
... add other conf objects ... ?:

Spiel transaction

Definition at line 260 of file spiel.h.

Field Documentation

◆ spt_buffer

char* spt_buffer

String representation of Spiel transaction Create only for all Endpoints Free afrer end last receive on Spiel load FOP

Definition at line 272 of file spiel.h.

◆ spt_cache

struct m0_conf_cache spt_cache

Cache m0_obj objects for Spiel transaction

Definition at line 264 of file spiel.h.

◆ spt_lock

struct m0_mutex spt_lock

Cache's mutex

Definition at line 266 of file spiel.h.

◆ spt_spiel

struct m0_spiel* spt_spiel

Spiel instance context

Definition at line 262 of file spiel.h.


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