Motr  M0
m0_cm_cp Struct Reference

#include <cp.h>

Collaboration diagram for m0_cm_cp:
Collaboration graph

Data Fields

struct m0_fom c_fom
 
enum m0_cm_cp_priority c_prio
 
m0_time_t c_epoch
 
const struct m0_cm_cp_opsc_ops
 
struct m0_cm_aggr_groupc_ag
 
uint64_t c_ag_cp_idx
 
struct m0_bitmap c_xform_cp_indices
 
struct m0_tl c_buffers
 
uint32_t c_buf_nr
 
uint32_t c_data_seg_nr
 
struct m0_rpc_bulk c_bulk
 
enum m0_cm_cp_io_op c_io_op
 
struct m0_tlink c_cm_proxy_linkage
 
struct m0_cm_proxyc_cm_proxy
 
struct m0_chan c_reply_wait
 
struct m0_mutex c_reply_wait_mutex
 
int c_rc
 
uint64_t c_magix
 

Detailed Description

Generic copy packet structure.

Definition at line 160 of file cp.h.

Field Documentation

◆ c_ag

struct m0_cm_aggr_group* c_ag

Aggregation group to which this copy packet belongs.

Definition at line 172 of file cp.h.

◆ c_ag_cp_idx

uint64_t c_ag_cp_idx

Index of this copy packet in aggregation group.

Definition at line 175 of file cp.h.

◆ c_buf_nr

uint32_t c_buf_nr

Number of data buffers acquired by this copy packet.

Definition at line 187 of file cp.h.

◆ c_buffers

struct m0_tl c_buffers

List of buffers holding data.

Definition at line 184 of file cp.h.

◆ c_bulk

struct m0_rpc_bulk c_bulk

Set and used in case of network send/recv.

Definition at line 193 of file cp.h.

◆ c_cm_proxy

struct m0_cm_proxy* c_cm_proxy

Proxy to which this copy packet belongs.

Definition at line 208 of file cp.h.

◆ c_cm_proxy_linkage

struct m0_tlink c_cm_proxy_linkage

Linkage to list of pending copy packets list in the proxy This channel is signalled by cp_reply_received() when reply is representing the remote replica.

See also
m0_cm_proxy::px_pending_cps
m0_cm::cm_proxies

Definition at line 205 of file cp.h.

◆ c_data_seg_nr

uint32_t c_data_seg_nr

Total number of data segments in this copy packet.

Definition at line 190 of file cp.h.

◆ c_epoch

m0_time_t c_epoch

Copy Packet epoch.

Definition at line 166 of file cp.h.

◆ c_fom

struct m0_fom c_fom

Definition at line 161 of file cp.h.

◆ c_io_op

enum m0_cm_cp_io_op c_io_op

Distinguishes IO operation.

Definition at line 196 of file cp.h.

◆ c_magix

uint64_t c_magix

Definition at line 220 of file cp.h.

◆ c_ops

const struct m0_cm_cp_ops* c_ops

Copy packet operations

Definition at line 169 of file cp.h.

◆ c_prio

enum m0_cm_cp_priority c_prio

Copy packet priority.

Definition at line 163 of file cp.h.

◆ c_rc

int c_rc

Definition at line 218 of file cp.h.

◆ c_reply_wait

struct m0_chan c_reply_wait

Channel to wait for reply of copy packet fop. This is used in send phase of copy packet fom. received for copy packet.

Definition at line 215 of file cp.h.

◆ c_reply_wait_mutex

struct m0_mutex c_reply_wait_mutex

Definition at line 216 of file cp.h.

◆ c_xform_cp_indices

struct m0_bitmap c_xform_cp_indices

Bitmap of the indices of copy packets in an aggregation group that have been transformed to this resultant copy packet.

Definition at line 181 of file cp.h.


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