25 #ifndef __MOTR_IOSERVICE_ST_COMMON_H__ 26 #define __MOTR_IOSERVICE_ST_COMMON_H__ 59 #define IO_CLIENT_DBNAME "bulk_c_db" 60 #define IO_SERVER_DBFILE "bulkio_st.db" 61 #define IO_SERVER_LOGFILE "bulkio_st.log" 62 #define IO_SERVER_STOBFILE "bulk_st_stob" 164 int fids_nr,
int fops_nr,
int segs_nr);
static m0_bcount_t seg_size
struct m0_thread ** bp_threads
struct m0_net_xprt * bp_xprt
int bulkio_client_start(struct bulkio_params *bp, const char *caddr, const char *saddr)
struct m0_rpc_server_ctx * bp_sctx
struct m0_fid bp_fids[IO_FIDS_NR]
void io_fops_destroy(struct bulkio_params *bp)
static struct m0_rpc_client_ctx cctx
struct m0_rm_resource_type bp_flock_rt
struct m0_be_tx_remid bp_remid
int m0_bufvec_alloc_aligned(struct m0_bufvec *bufvec, uint32_t num_segs, m0_bcount_t seg_size, unsigned shift)
uint64_t bp_offsets[IO_FIDS_NR]
enum M0_RPC_OPCODES ta_op
void bulkio_params_fini(struct bulkio_params *bp)
static const struct m0_fid CONF_PVER_FID1
#define M0_FID_TINIT(type, container, key)
static void attr(struct m0_addb2__context *ctx, const uint64_t *v, char *buf)
struct m0_rpc_client_ctx * bp_cctx
struct m0_rm_domain bp_rdom
void bulkio_test(struct bulkio_params *bp, int fids_nr, int fops_nr, int segs_nr)
void bulkio_params_init(struct bulkio_params *bp)
static struct m0_thread t[8]
void io_fops_rpc_submit(struct thrd_arg *t)
struct m0_cob_domain bp_ccbdom
static struct m0_rpc_server_ctx sctx
struct bulkio_params * ta_bp
void io_fops_create(struct bulkio_params *bp, enum M0_RPC_OPCODES op, int fids_nr, int fops_nr, int segs_nr)
int bulkio_server_start(struct bulkio_params *bp, const char *saddr)
static const struct m0_fid CONF_PROFILE_FID
struct m0_net_buffer ** bp_iobuf
static const struct m0_fid CONF_PVER_FID
void bulkio_client_stop(struct m0_rpc_client_ctx *cctx)
struct m0_io_fop ** bp_rfops
struct m0_net_domain bp_cnetdom
void bulkio_server_stop(struct m0_rpc_server_ctx *sctx)
static struct bulkio_params * bp
void cob_attr_default_fill(struct m0_cob_attr *attr)
struct m0_io_fop ** bp_wfops
int io_fsync_send_fop(struct m0_be_tx_remid *remid, struct thrd_arg *t)
struct m0_file bp_file[IO_FIDS_NR]