Motr  M0
m0_ctg_op Struct Reference

#include <ctg_store.h>

Collaboration diagram for m0_ctg_op:
Collaboration graph

Data Fields

struct m0_fomco_fom
 
struct m0_cas_ctgco_ctg
 
struct m0_be_op co_beop
 
struct m0_be_btree_anchor co_anchor
 
struct m0_be_btree_cursor co_cur
 
bool co_cur_initialised
 
int co_cur_phase
 
struct m0_clink co_clink
 
struct m0_chan co_channel
 
struct m0_mutex co_channel_lock
 
struct m0_buf co_key
 
struct m0_buf co_val
 
struct m0_buf co_out_key
 
struct m0_buf co_out_val
 
struct m0_crv co_out_ver
 
struct m0_buf co_mem_buf
 
int co_opcode
 
int co_ct
 
uint32_t co_flags
 
int co_rc
 
m0_bcount_t co_cnt
 
bool co_is_versioned
 

Detailed Description

Structure that describes catalogue operation.

Definition at line 182 of file ctg_store.h.

Field Documentation

◆ co_anchor

struct m0_be_btree_anchor co_anchor

BTree anchor used for inplace operations.

Definition at line 196 of file ctg_store.h.

◆ co_beop

struct m0_be_op co_beop

BE operation structure for b-tree operations, except for CO_CUR. Cursor operations use m0_ctg_op::co_cur.

Note
m0_ctg_op::co_cur has its own m0_be_op. It could be used for all operations, but it is marked deprecated in btree.h.

Definition at line 194 of file ctg_store.h.

◆ co_channel

struct m0_chan co_channel

Channel to communicate with caller FOM.

Definition at line 206 of file ctg_store.h.

◆ co_channel_lock

struct m0_mutex co_channel_lock

Channel guard.

Definition at line 208 of file ctg_store.h.

◆ co_clink

struct m0_clink co_clink

Manages calling of callback on completion of BE operation.

Definition at line 204 of file ctg_store.h.

◆ co_cnt

m0_bcount_t co_cnt

Maximum number of records (limit) allowed to be deleted in CO_TRUNC operation, see m0_ctg_truncate().

Definition at line 232 of file ctg_store.h.

◆ co_ct

int co_ct

Operation type (meta or ordinary catalogue).

Definition at line 223 of file ctg_store.h.

◆ co_ctg

struct m0_cas_ctg* co_ctg

Catalogue for which the operation will be performed.

Definition at line 186 of file ctg_store.h.

◆ co_cur

struct m0_be_btree_cursor co_cur

BTree cursor used for cursor operations.

Definition at line 198 of file ctg_store.h.

◆ co_cur_initialised

bool co_cur_initialised

Shows whether catalogue cursor is initialised.

Definition at line 200 of file ctg_store.h.

◆ co_cur_phase

int co_cur_phase

Current cursor phase.

Definition at line 202 of file ctg_store.h.

◆ co_flags

uint32_t co_flags

Operation flags.

Definition at line 225 of file ctg_store.h.

◆ co_fom

struct m0_fom* co_fom

Caller FOM.

Definition at line 184 of file ctg_store.h.

◆ co_is_versioned

bool co_is_versioned

A flag to be set when versioned behavior is enabled for execution of this operation. See COF_VERSIONED for details.

Definition at line 238 of file ctg_store.h.

◆ co_key

struct m0_buf co_key

Key buffer.

Definition at line 210 of file ctg_store.h.

◆ co_mem_buf

struct m0_buf co_mem_buf

Definition at line 219 of file ctg_store.h.

◆ co_opcode

int co_opcode

Operation code to be executed.

Definition at line 221 of file ctg_store.h.

◆ co_out_key

struct m0_buf co_out_key

Key out buffer.

Definition at line 214 of file ctg_store.h.

◆ co_out_val

struct m0_buf co_out_val

Value out buffer.

Definition at line 216 of file ctg_store.h.

◆ co_out_ver

struct m0_crv co_out_ver

Definition at line 218 of file ctg_store.h.

◆ co_rc

int co_rc

Operation result code.

Definition at line 227 of file ctg_store.h.

◆ co_val

struct m0_buf co_val

Value buffer.

Definition at line 212 of file ctg_store.h.


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