Motr  M0
m0_io_fom_cob_rw Struct Reference

#include <io_foms.h>

Collaboration diagram for m0_io_fom_cob_rw:
Collaboration graph

Data Fields

struct m0_fom fcrw_gen
 
struct m0_pool_versionfcrw_pver
 
uint32_t fcrw_ndesc
 
int fcrw_curr_desc_index
 
m0_bcount_t fcrw_total_ioivec_cnt
 
m0_bcount_t fcrw_curr_size
 
uint32_t fcrw_batch_size
 
m0_bcount_t fcrw_req_count
 
m0_bcount_t fcrw_count
 
uint32_t fcrw_bshift
 
uint64_t fcrw_cob_size
 
struct m0_stob_io fcrw_io
 
uint32_t fcrw_num_stobio_launched
 
struct m0_net_buffer_poolfcrw_bp
 
struct m0_stobfcrw_stob
 
struct m0_cobfcrw_cob
 
struct m0_stob_io_descfcrw_stio
 
struct m0_tl fcrw_stio_list
 
struct m0_tl fcrw_done_list
 
struct m0_rpc_bulk fcrw_bulk
 
m0_time_t fcrw_fom_start_time
 
m0_time_t fcrw_phase_start_time
 
struct m0_tl fcrw_netbuf_list
 
int fcrw_rc
 
struct m0_fol_frag fcrw_fol_frag
 
m0_time_t fcrw_io_launch_time
 
uint64_t fcrw_flags
 

Detailed Description

Object encompassing FOM for cob I/O operation and necessary context data

Definition at line 172 of file io_foms.h.

Field Documentation

◆ fcrw_batch_size

uint32_t fcrw_batch_size

no. of descriptor going to process

Definition at line 186 of file io_foms.h.

◆ fcrw_bp

struct m0_net_buffer_pool* fcrw_bp

Pointer to buffer pool refered by FOM

Definition at line 205 of file io_foms.h.

◆ fcrw_bshift

uint32_t fcrw_bshift

Stob block shift

Definition at line 192 of file io_foms.h.

◆ fcrw_bulk

struct m0_rpc_bulk fcrw_bulk

rpc bulk load data.

Definition at line 217 of file io_foms.h.

◆ fcrw_cob

struct m0_cob* fcrw_cob

Cob object corresponding to the stob.

Definition at line 209 of file io_foms.h.

◆ fcrw_cob_size

uint64_t fcrw_cob_size

New cob size in case of update

Definition at line 194 of file io_foms.h.

◆ fcrw_count

m0_bcount_t fcrw_count

Number of bytes successfully transferred.

Definition at line 190 of file io_foms.h.

◆ fcrw_curr_desc_index

int fcrw_curr_desc_index

index of net buffer descriptor under process

Definition at line 180 of file io_foms.h.

◆ fcrw_curr_size

m0_bcount_t fcrw_curr_size

Current position in bytes

Definition at line 184 of file io_foms.h.

◆ fcrw_done_list

struct m0_tl fcrw_done_list

Completed stob IOs, used as holders for fol records.

Definition at line 215 of file io_foms.h.

◆ fcrw_flags

uint64_t fcrw_flags

The flags from m0_fop_cob_rw::crw_flags

Definition at line 234 of file io_foms.h.

◆ fcrw_fol_frag

struct m0_fol_frag fcrw_fol_frag

fol record fragment representing operations in io sub-system.

Definition at line 230 of file io_foms.h.

◆ fcrw_fom_start_time

m0_time_t fcrw_fom_start_time

Start time for FOM.

Definition at line 219 of file io_foms.h.

◆ fcrw_gen

struct m0_fom fcrw_gen

Generic m0_fom object.

Definition at line 174 of file io_foms.h.

◆ fcrw_io

struct m0_stob_io fcrw_io

Summary index vector representing the extent information for the IO request. Used for BE-credit calculation.

Definition at line 200 of file io_foms.h.

◆ fcrw_io_launch_time

m0_time_t fcrw_io_launch_time

Time stamp when stob io request was launched

Definition at line 232 of file io_foms.h.

◆ fcrw_ndesc

uint32_t fcrw_ndesc

Number of desc io_fop desc list

Definition at line 178 of file io_foms.h.

◆ fcrw_netbuf_list

struct m0_tl fcrw_netbuf_list

network buffer list currently acquired by io service

Definition at line 223 of file io_foms.h.

◆ fcrw_num_stobio_launched

uint32_t fcrw_num_stobio_launched

Number of STOB I/O launched

Definition at line 203 of file io_foms.h.

◆ fcrw_phase_start_time

m0_time_t fcrw_phase_start_time

Start time for FOM specific phase.

Definition at line 221 of file io_foms.h.

◆ fcrw_pver

struct m0_pool_version* fcrw_pver

Pool version for this io request.

Definition at line 176 of file io_foms.h.

◆ fcrw_rc

int fcrw_rc

Used to store error when any of the stob io fails while waiting for stob io to finish(i.e. all stobio call backs are returned successfully).

Definition at line 228 of file io_foms.h.

◆ fcrw_req_count

m0_bcount_t fcrw_req_count

Number of bytes requested to transfer.

Definition at line 188 of file io_foms.h.

◆ fcrw_stio

struct m0_stob_io_desc* fcrw_stio

Array of all stob IOs we are going to fire (fcrw_ndesc in size).

Definition at line 211 of file io_foms.h.

◆ fcrw_stio_list

struct m0_tl fcrw_stio_list

The list of fired stob IOs.

Definition at line 213 of file io_foms.h.

◆ fcrw_stob

struct m0_stob* fcrw_stob

Stob object on which this FOM is acting.

Definition at line 207 of file io_foms.h.

◆ fcrw_total_ioivec_cnt

m0_bcount_t fcrw_total_ioivec_cnt

Total IO requested from m0_io_indexvec

Definition at line 182 of file io_foms.h.


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