Motr  M0
m0_dix_cm_cp Struct Reference

#include <cp.h>

Collaboration diagram for m0_dix_cm_cp:
Collaboration graph

Data Fields

struct m0_cm_cp dc_base
 
struct m0_fid dc_ctg_fid
 
bool dc_is_local
 
struct m0_ctg_op dc_ctg_op
 
int dc_ctg_op_rc
 
uint32_t dc_ctg_op_flags
 
struct m0_cas_ctgdc_ctg
 
struct m0_long_lock_link dc_ctg_lock
 
struct m0_long_lock_link dc_meta_lock
 
struct m0_long_lock_addb2 dc_ctg_lock_addb2
 
struct m0_long_lock_addb2 dc_meta_lock_addb2
 
int dc_phase_transmit
 
struct m0_buf dc_key
 
struct m0_buf dc_val
 

Detailed Description

DIX copy packet context.

Definition at line 48 of file cp.h.

Field Documentation

◆ dc_base

struct m0_cm_cp dc_base

Base copy packet.

Definition at line 50 of file cp.h.

◆ dc_ctg

struct m0_cas_ctg* dc_ctg

Pointer to catalogue we are currently operating on.

Definition at line 74 of file cp.h.

◆ dc_ctg_fid

struct m0_fid dc_ctg_fid

Catalog fid this copy packet is targeted to.

Definition at line 53 of file cp.h.

◆ dc_ctg_lock

struct m0_long_lock_link dc_ctg_lock

Long lock link used to get write lock on ordinary catalogues.

Definition at line 77 of file cp.h.

◆ dc_ctg_lock_addb2

struct m0_long_lock_addb2 dc_ctg_lock_addb2

ADDB2 instrumentation for long lock.

Definition at line 82 of file cp.h.

◆ dc_ctg_op

struct m0_ctg_op dc_ctg_op

Catalogue operation for meta lookup and key/value insertion into ordinary catalogues.

Definition at line 65 of file cp.h.

◆ dc_ctg_op_flags

uint32_t dc_ctg_op_flags

Catalogue operation flags.

Definition at line 71 of file cp.h.

◆ dc_ctg_op_rc

int dc_ctg_op_rc

Last catalogue operation result code.

Definition at line 68 of file cp.h.

◆ dc_is_local

bool dc_is_local

This is true if for the local/outgoing copy packet and false for incoming copy packet.

Definition at line 59 of file cp.h.

◆ dc_key

struct m0_buf dc_key

Buffer for key.

Definition at line 90 of file cp.h.

◆ dc_meta_lock

struct m0_long_lock_link dc_meta_lock

Long lock link used to get read lock on meta catalogue.

Definition at line 79 of file cp.h.

◆ dc_meta_lock_addb2

struct m0_long_lock_addb2 dc_meta_lock_addb2

ADDB2 instrumentation for meta long lock.

Definition at line 84 of file cp.h.

◆ dc_phase_transmit

int dc_phase_transmit

Key/value transmission phase.

Definition at line 87 of file cp.h.

◆ dc_val

struct m0_buf dc_val

Buffer for value.

Definition at line 92 of file cp.h.


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