Motr  M0
m0_cas_rep Struct Reference

#include <cas.h>

Collaboration diagram for m0_cas_rep:
Collaboration graph

Data Fields

int32_t cgr_rc
 
struct m0_cas_recv cgr_rep
 
struct m0_fop_mod_rep cgr_mod_rep
 

Detailed Description

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

Note
CAS-CUR reply may contain less records than requested.
See also
m0_fop_cas_op

Definition at line 406 of file cas.h.

Field Documentation

◆ cgr_mod_rep

struct m0_fop_mod_rep cgr_mod_rep

Returned values for an UPDATE operation, such as CAS-PUT.

Definition at line 430 of file cas.h.

◆ cgr_rc

int32_t cgr_rc

Status code of operation. If code != 0, then no input record from request is processed successfully and contents of m0_cas_rep::cgr_rep field is undefined.

Zero status code means that at least one input record is processed successfully. Operation status code of individual input record can be obtained through m0_cas_rep::cgr_rep::cg_rec::cr_rc.

Definition at line 416 of file cas.h.

◆ cgr_rep

struct m0_cas_recv cgr_rep

Array of operation results for each input record.

For CAS-GET this describes output values.

For CAS-PUT and, CAS-DEL this describes return codes.

For CAS-CUR this describes next records.

Definition at line 427 of file cas.h.


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