|
Motr
M0
|
#include <pg.h>

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_ioreq * | irf_tioreq |
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.
| struct m0_tlink irf_link |
Linkage to link in to target_ioreq::ti_iofops list.
| enum page_attr irf_pattr |
| struct target_ioreq* irf_tioreq |
Backlink to target_ioreq object where rc and number of bytes are updated.