Motr  M0
ioreq_fop Struct Reference

#include <pg.h>

Collaboration diagram for ioreq_fop:
Collaboration graph

Data Fields

uint64_t irf_magic
 
int irf_reply_rc
 
struct m0_io_fop irf_iofop
 
enum page_attr irf_pattr
 
struct m0_sm_ast irf_ast
 
struct m0_tlink irf_link
 
struct target_ioreqirf_tioreq
 

Detailed Description

Represents a wrapper over generic IO fop and its callback to keep track of such IO fops issued by the same target_ioreq structure.

When bottom halves for m0_sm_ast structures are run, it updates target_ioreq::ti_rc and target_ioreq::ti_bytes with data from IO reply fop. Then it decrements nw_xfer_request::nxr_iofop_nr, number of IO fops. When this count reaches zero, m0_op_io::ioo_oo::oo_sm changes its state.

Definition at line 859 of file pg.h.

Field Documentation

◆ irf_ast

struct m0_sm_ast irf_ast

Callback per IO fop.

Definition at line 872 of file pg.h.

◆ irf_iofop

struct m0_io_fop irf_iofop

In-memory handle for IO fop.

Definition at line 866 of file pg.h.

◆ irf_link

struct m0_tlink irf_link

Linkage to link in to target_ioreq::ti_iofops list.

Definition at line 875 of file pg.h.

◆ irf_magic

uint64_t irf_magic

Definition at line 860 of file pg.h.

◆ irf_pattr

enum page_attr irf_pattr

Type of pages {PA_DATA, PA_PARITY} carried by io fop.

Definition at line 869 of file pg.h.

◆ irf_reply_rc

int irf_reply_rc

Status of IO reply fop.

Definition at line 863 of file pg.h.

◆ irf_tioreq

struct target_ioreq* irf_tioreq

Backlink to target_ioreq object where rc and number of bytes are updated.

Definition at line 881 of file pg.h.


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