Motr  M0
setup_dix.c File Reference
#include "lib/trace.h"
#include "cas/client.h"
#include "conf/confc.h"
#include "conf/helpers.h"
#include "dix/req.h"
#include "dix/fid_convert.h"
#include "dix/meta.h"
#include "lib/buf.h"
#include "lib/locality.h"
#include "lib/misc.h"
#include "lib/vec.h"
#include "motr/setup.h"
#include "motr/setup_internal.h"
#include "pool/pool.h"
#include "reqh/reqh.h"
#include "rpc/link.h"
#include "sm/sm.h"
Include dependency graph for setup_dix.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_M0D
 

Functions

static void cs_dix_cas_id_make (struct m0_cas_id *cid, struct m0_dix *index, uint32_t sdev_idx)
 
static int cs_dix_create_sync (struct m0_dix *index, uint32_t sdev_idx, struct m0_rpc_link *link)
 
static int cs_dix_keys_vals_init (struct m0_bufvec *keys, struct m0_bufvec *vals, const char *key, const struct m0_fid *fid, struct m0_dix_ldesc *dld)
 
static void cs_dix_keys_vals_fini (struct m0_bufvec *keys, struct m0_bufvec *vals)
 
static int cs_dix_put_sync (struct m0_dix *index, uint32_t sdev_idx, struct m0_bufvec *keys, struct m0_bufvec *vals, struct m0_rpc_link *link)
 
static int cs_dix_put_one (struct m0_dix *index, const char *keystr, const struct m0_fid *fid, struct m0_dix_ldesc *dld, struct m0_pools_common *pc, struct m0_pool_version *pver, struct m0_layout_domain *ldom, struct m0_fid *cas_fid, struct m0_rpc_link *link)
 
static bool cs_dix_pver_is_valid (struct m0_pools_common *pc, struct m0_pool_version *pver)
 
M0_INTERNAL int m0_cs_dix_setup (struct m0_motr *cctx)