|
Motr
M0
|
#include <file_internal.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, io_request::ir_sm changes its state.
Definition at line 1857 of file file_internal.h.
| struct m0_sm_ast irf_ast |
Callback per IO fop.
Definition at line 1871 of file file_internal.h.
| struct m0_io_fop irf_iofop |
In-memory handle for IO fop.
Definition at line 1865 of file file_internal.h.
| struct m0_tlink irf_link |
Linkage to link in to target_ioreq::ti_iofops list.
Definition at line 1874 of file file_internal.h.
| uint64_t irf_magic |
Holds M0_T1FS_IOFOP_MAGIC
Definition at line 1859 of file file_internal.h.
| enum page_attr irf_pattr |
Type of pages {PA_DATA, PA_PARITY} carried by io fop.
Definition at line 1868 of file file_internal.h.
| int irf_reply_rc |
Status of IO reply fop.
Definition at line 1862 of file file_internal.h.
| struct target_ioreq* irf_tioreq |
Backlink to target_ioreq object where rc and number of bytes are updated.
Definition at line 1880 of file file_internal.h.