Motr  M0
io_fop.c File Reference
#include "lib/misc.h"
#include "lib/errno.h"
#include "lib/assert.h"
#include "lib/memory.h"
#include "lib/chan.h"
#include "lib/list.h"
#include "balloc/balloc.h"
#include "net/net.h"
#include "fop/fop.h"
#include "reqh/reqh.h"
#include "fop/fom.h"
#include "fop/fom_generic.h"
#include "stob/stob.h"
#include "stob/ad.h"
#include "rpc/rpc.h"
#include "rpc/rpc_opcodes.h"
#include "fop/fop_item_type.h"
#include "reqh/ut/io_fop.h"
#include "reqh/ut/io_fop_xc.h"
#include "ut/ut.h"
Include dependency graph for io_fop.c:

Go to the source code of this file.

Data Structures

struct  m0_stob_io_fom
 

Enumerations

enum  stob_fom_phases {
  M0_FOPH_CREATE_STOB = M0_FOPH_NR + 1, M0_FOPH_READ_STOB_IO = M0_FOPH_NR + 1, M0_FOPH_READ_STOB_IO_WAIT, M0_FOPH_WRITE_STOB_IO = M0_FOPH_NR + 1,
  M0_FOPH_WRITE_STOB_IO_WAIT
}
 

Functions

struct m0_stob_domainreqh_ut_stob_domain_find (void)
 
static int stob_create_fom_create (struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
 
static int stob_read_fom_create (struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
 
static int stob_write_fom_create (struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
 
static int stob_create_fom_tick (struct m0_fom *fom)
 
static int stob_read_fom_tick (struct m0_fom *fom)
 
static int stob_write_fom_tick (struct m0_fom *fom)
 
static void stob_io_fom_fini (struct m0_fom *fom)
 
static size_t stob_find_fom_home_locality (const struct m0_fom *fom)
 
static struct m0_stobstob_object_find (const struct stob_io_fop_fid *fid, struct m0_fom *fom)
 
static int stob_io_fop_fom_create_helper (struct m0_fop *fop, struct m0_fom_ops *fom_ops, struct m0_fop_type *fop_type, struct m0_fom **out, struct m0_reqh *reqh)
 
static void fom_stob_write_credit (struct m0_fom *fom)
 
void m0_stob_io_fop_fini (void)
 
void m0_stob_io_fop_init (void)
 

Variables

struct m0_reqh_service_type m0_rpc_service_type
 
struct m0_fop_type m0_stob_io_create_fopt
 
struct m0_fop_type m0_stob_io_read_fopt
 
struct m0_fop_type m0_stob_io_write_fopt
 
struct m0_fop_type m0_stob_io_create_rep_fopt
 
struct m0_fop_type m0_stob_io_read_rep_fopt
 
struct m0_fop_type m0_stob_io_write_rep_fopt
 
struct m0_sm_state_descr stob_create_phases []
 
struct m0_sm_state_descr stob_read_phases []
 
const struct m0_sm_conf read_conf
 
struct m0_sm_state_descr stob_write_phases []
 
const struct m0_sm_conf write_conf
 
static struct m0_fom_ops stob_create_fom_ops
 
static struct m0_fom_ops stob_write_fom_ops
 
static struct m0_fom_ops stob_read_fom_ops
 
static const struct m0_fom_type_ops stob_create_fom_type_ops
 
static const struct m0_fom_type_ops stob_read_fom_type_ops
 
static const struct m0_fom_type_ops stob_write_fom_type_ops