Motr  M0
IO bulk client Detailed Function Spec

Detailed Function Specification for IO bulk client. More...

Data Structures

struct  ioseg
 
struct  io_seg_set
 

Functions

 M0_TL_DESCR_DEFINE (iosegset, "list of coalesced io segments", static, struct ioseg, is_linkage, is_magic, M0_IOS_IO_SEGMENT_MAGIC, M0_IOS_IO_SEGMENT_SET_MAGIC)
 
 M0_TL_DEFINE (iosegset, static, struct ioseg)
 
static void ioseg_get (const struct m0_0vec *zvec, uint32_t seg_index, struct ioseg *seg)
 
static bool io_fop_invariant (struct m0_io_fop *iofop)
 
M0_INTERNAL int m0_io_fop_init (struct m0_io_fop *iofop, const struct m0_fid *gfid, struct m0_fop_type *ftype, void(*fop_release)(struct m0_ref *))
 
M0_INTERNAL void m0_io_fop_fini (struct m0_io_fop *iofop)
 
M0_INTERNAL struct m0_rpc_bulkm0_fop_to_rpcbulk (const struct m0_fop *fop)
 

Detailed Description

Detailed Function Specification for IO bulk client.

Function Documentation

◆ io_fop_invariant()

static bool io_fop_invariant ( struct m0_io_fop iofop)
static

Definition at line 857 of file io_fops.c.

Here is the caller graph for this function:

◆ ioseg_get()

static void ioseg_get ( const struct m0_0vec zvec,
uint32_t  seg_index,
struct ioseg seg 
)
static

Definition at line 845 of file io_fops.c.

Here is the caller graph for this function:

◆ m0_fop_to_rpcbulk()

M0_INTERNAL struct m0_rpc_bulk* m0_fop_to_rpcbulk ( const struct m0_fop fop)

Retrieves a m0_rpc_bulk structure from given m0_fop.

Precondition
fop != NULL.

Definition at line 904 of file io_fops.c.

Here is the caller graph for this function:

◆ m0_io_fop_fini()

M0_INTERNAL void m0_io_fop_fini ( struct m0_io_fop iofop)

Finalizes a m0_io_fop structure.

Precondition
iofop != NULL.

Definition at line 897 of file io_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ m0_io_fop_init()

M0_INTERNAL int m0_io_fop_init ( struct m0_io_fop iofop,
const struct m0_fid gfid,
struct m0_fop_type ftype,
void(*)(struct m0_ref *)  fop_release 
)

Initializes a m0_io_fop structure.

Parameters
ftypeType of fop to be initialized.
gfidGlobal file fid.
Precondition
iofop != NULL.
Postcondition
io_fop_invariant(iofop)

Definition at line 865 of file io_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ M0_TL_DEFINE()

M0_TL_DEFINE ( iosegset  ,
static  ,
struct ioseg   
)

◆ M0_TL_DESCR_DEFINE()

M0_TL_DESCR_DEFINE ( iosegset  ,
"list of coalesced io segments"  ,
static  ,
struct ioseg  ,
is_linkage  ,
is_magic  ,
M0_IOS_IO_SEGMENT_MAGIC  ,
M0_IOS_IO_SEGMENT_SET_MAGIC   
)