Motr  M0
m0_isc_comp_req Struct Reference

#include <isc.h>

Collaboration diagram for m0_isc_comp_req:
Collaboration graph

Data Fields

struct m0_buf icr_args
 
struct m0_buf icr_result
 
struct m0_fid icr_comp_fid
 
struct m0_cookie icr_cookie
 
int icr_rc
 
enum m0_isc_comp_req_type icr_req_type
 
bool icr_req_bulk
 
struct m0_isc_comp_private icr_comp_data
 
struct m0_mutex icr_guard
 
struct m0_chan icr_chan
 
struct m0_fom icr_fom
 
struct m0_reqhicr_reqh
 

Detailed Description

A request for a computation holds all the relevant data required to refer and execute a particular computation.

Definition at line 154 of file isc.h.

Field Documentation

◆ icr_args

struct m0_buf icr_args

Arguments for a computation.

Definition at line 158 of file isc.h.

◆ icr_chan

struct m0_chan icr_chan

Channel to announce completion of computation.

Definition at line 189 of file isc.h.

◆ icr_comp_data

struct m0_isc_comp_private icr_comp_data

State of a computation privately maintained by itself.

Definition at line 186 of file isc.h.

◆ icr_comp_fid

struct m0_fid icr_comp_fid

Unique identifier of a computation.

Definition at line 167 of file isc.h.

◆ icr_cookie

struct m0_cookie icr_cookie

Cookie associated with a computation.

Definition at line 169 of file isc.h.

◆ icr_fom

struct m0_fom icr_fom

Fom associated with the request.

Definition at line 191 of file isc.h.

◆ icr_guard

struct m0_mutex icr_guard

Definition at line 187 of file isc.h.

◆ icr_rc

int icr_rc
  • Return value of fom execution.

Definition at line 171 of file isc.h.

◆ icr_req_bulk

bool icr_req_bulk

Does request engage into bulkio.

Definition at line 181 of file isc.h.

◆ icr_req_type

enum m0_isc_comp_req_type icr_req_type

A request can be either local or remote. See m0_isc_comp_req_type.

Definition at line 177 of file isc.h.

◆ icr_reqh

struct m0_reqh* icr_reqh

Definition at line 192 of file isc.h.

◆ icr_result

struct m0_buf icr_result

Output of the computation. It's allocated by the computation and caller of the computation is responsible for the deallocation. In case of a remote invocation, m0_rpc_at_fini() finalizes it.

Definition at line 165 of file isc.h.


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