#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <err.h>
#include "lib/memory.h"
#include "net/net.h"
#include "fop/fop.h"
#include "reqh/reqh.h"
#include "stob/stob.h"
#include "stob/ad.h"
#include "net/lnet/lnet.h"
#include "rpc/rpc.h"
#include "fop/fop_item_type.h"
#include "rpc/item.h"
#include "rpc/rpc_internal.h"
#include "fop/fom_generic.h"
#include "fop/fom_generic_xc.h"
#include "reqh/ut/io_fop_xc.h"
#include "reqh/ut/io_fop.h"
#include "rpc/rpc_opcodes.h"
#include "rpc/rpclib.h"
#include "balloc/balloc.h"
#include "mdstore/mdstore.h"
#include "fdmi/fdmi.h"
#include "ut/ut.h"
#include "ut/be.h"
Go to the source code of this file.
|
static struct reqh_ut_balloc * | getballoc (struct m0_ad_balloc *ballroom) |
|
static int | reqh_ut_balloc_init (struct m0_ad_balloc *ballroom, struct m0_be_seg *db, uint32_t bshift, m0_bindex_t container_size, m0_bcount_t groupsize, m0_bcount_t spare_reserve) |
|
static void | reqh_ut_balloc_fini (struct m0_ad_balloc *ballroom) |
|
static int | reqh_ut_balloc_alloc (struct m0_ad_balloc *ballroom, struct m0_dtx *tx, m0_bcount_t count, struct m0_ext *out, uint64_t alloc_zone) |
|
static int | reqh_ut_balloc_free (struct m0_ad_balloc *ballroom, struct m0_dtx *tx, struct m0_ext *ext) |
|
static int | reqh_ut_reserve_extent (struct m0_ad_balloc *ballroom, struct m0_be_tx *tx, struct m0_ext *ext, uint64_t alloc_zone) |
|
struct m0_stob_domain * | reqh_ut_stob_domain_find (void) |
|
static int | server_init (const char *stob_path, const char *srv_db_name, struct m0_net_domain *net_dom, uint64_t back_key, struct m0_stob_domain **bdom) |
|
static void | server_fini (struct m0_stob_domain *bdom, uint64_t back_key) |
|
static void | fop_send (struct m0_fop *fop, struct m0_rpc_session *session) |
|
static void | create_send (struct m0_rpc_session *session) |
|
static void | read_send (struct m0_rpc_session *session) |
|
static void | write_send (struct m0_rpc_session *session) |
|
void | test_reqh (void) |
|