Motr  M0
m0_cas_op Struct Reference

#include <cas.h>

Collaboration diagram for m0_cas_op:
Collaboration graph

Data Fields

struct m0_cas_id cg_id
 
struct m0_cas_recv cg_rec
 
uint32_t cg_flags
 
struct m0_dtm0_tx_desc cg_txd
 

Detailed Description

CAS-GET, CAS-PUT, CAS-DEL and CAS-CUR fops.

Performs an operation on a number of records.

See also
m0_fop_cas_rep

Definition at line 372 of file cas.h.

Field Documentation

◆ cg_flags

uint32_t cg_flags

CAS operation flags.

It's a bitmask of flags from m0_cas_op_flags enumeration.

Definition at line 391 of file cas.h.

◆ cg_id

struct m0_cas_id cg_id

Index to make operation in.

Definition at line 374 of file cas.h.

◆ cg_rec

struct m0_cas_recv cg_rec

Array of input records.

For CAS-GET, CAS-DEL and CAS-CUR this describes input keys. For CAS-PUT this describes input keys and values.

Array should be non-empty.

Definition at line 384 of file cas.h.

◆ cg_txd

struct m0_dtm0_tx_desc cg_txd

Transaction descriptor associated with CAS operation.

Definition at line 396 of file cas.h.


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