#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include "fol/fol.h"
#include "stob/ad.h"
#include "stob/ad_private.h"
#include "rpc/rpc_opcodes.h"
#include "dix/layout.h"
#include "dix/client.h"
#include "dix/meta.h"
#include "fid/fid.h"
#include "lib/types.h"
#include "lib/getopts.h"
#include "lib/thread.h"
#include "lib/hash_fnc.h"
#include "lib/uuid.h"
#include "lib/string.h"
#include "lib/ext.h"
#include "lib/vec.h"
#include "module/instance.h"
#include "pool/pool.h"
#include "conf/confc.h"
#include "net/lnet/lnet.h"
#include "mero/ha.h"
#include "rpc/rpc_machine.h"
#include "rpc/rpc.h"
#include "reqh/reqh.h"
#include "rm/rm_service.h"
#include "net/buffer_pool.h"
#include "fdmi/fdmi.h"
#include "fdmi/service.h"
#include "fdmi/plugin_dock.h"
#include "fdmi/plugin_dock_internal.h"
#include <clovis/clovis.h>
#include <clovis/clovis_cont.h>
#include <clovis/clovis_internal.h>
Go to the source code of this file.
|
void | bufvec_free (struct m0_bufvec *bv) |
|
struct m0_bufvec * | bufvec_alloc (int nr) |
|
static void | inspect_fol_record (struct m0_fol_rec *fol_rec) |
|
static int | inst_ha_init (struct fdmi_ctx *ctx, const char *ha_addr) |
|
static void | inst_ha_stop (struct fdmi_ctx *ctx) |
|
static void | inst_ha_fini (struct fdmi_ctx *ctx) |
|
static int | inst_net_init (struct fdmi_ctx *ctx, const char *local_addr) |
|
static int | inst_rpc_init (struct fdmi_ctx *ctx) |
|
static void | inst_rpc_fini (struct fdmi_ctx *ctx) |
|
static void | inst_net_fini (struct fdmi_ctx *ctx) |
|
M0_INTERNAL struct m0_rconfc * | get_rconfc (struct fdmi_ctx *ctx) |
|
static int | inst_layouts_init (struct fdmi_ctx *ctx) |
|
static void | inst_layouts_fini (struct fdmi_ctx *ctx) |
|
static int | inst_service_start (struct m0_reqh_service_type *stype, struct m0_reqh *reqh) |
|
static int | inst_reqh_services_start (struct fdmi_ctx *ctx) |
|
static int | classify_handle_fdmi_rec_not (struct m0_uint128 *rec_id, struct m0_buf fdmi_rec, struct m0_fid filter_id) |
|
int | init_fdmi_plugin () |
|
static int | inst_init (struct fdmi_ctx *ctx, const char *local_addr, const char *ha_addr, const char *profile) |
|
int | init_containers () |
|
void | list_containers (struct m0_clovis_container *cont) |
|
int | fdmi_instance (const char *local_addr, const char *ha_addr, const char *prof) |
|
int | main (int argc, char **argv) |
|
◆ MALLOC_ARR
#define MALLOC_ARR |
( |
|
arr, |
|
|
|
nr |
|
) |
| ((arr) = malloc((nr) * sizeof ((arr)[0]))) |
◆ READ_END
◆ THRESHOLD
#define THRESHOLD (1024*1024) |
◆ WRITE_END
◆ classify_msg_t
◆ bufvec_alloc()
◆ bufvec_free()
◆ classify_handle_fdmi_rec_not()
static int classify_handle_fdmi_rec_not |
( |
struct m0_uint128 * |
rec_id, |
|
|
struct m0_buf |
fdmi_rec, |
|
|
struct m0_fid |
filter_id |
|
) |
| |
|
static |
◆ fdmi_instance()
int fdmi_instance |
( |
const char * |
local_addr, |
|
|
const char * |
ha_addr, |
|
|
const char * |
prof |
|
) |
| |
◆ get_rconfc()
◆ init_containers()
◆ init_fdmi_plugin()
◆ inspect_fol_record()
static void inspect_fol_record |
( |
struct m0_fol_rec * |
fol_rec | ) |
|
|
static |
◆ inst_ha_fini()
static void inst_ha_fini |
( |
struct fdmi_ctx * |
ctx | ) |
|
|
static |
◆ inst_ha_init()
static int inst_ha_init |
( |
struct fdmi_ctx * |
ctx, |
|
|
const char * |
ha_addr |
|
) |
| |
|
static |
◆ inst_ha_stop()
static void inst_ha_stop |
( |
struct fdmi_ctx * |
ctx | ) |
|
|
static |
◆ inst_init()
static int inst_init |
( |
struct fdmi_ctx * |
ctx, |
|
|
const char * |
local_addr, |
|
|
const char * |
ha_addr, |
|
|
const char * |
profile |
|
) |
| |
|
static |
◆ inst_layouts_fini()
static void inst_layouts_fini |
( |
struct fdmi_ctx * |
ctx | ) |
|
|
static |
◆ inst_layouts_init()
static int inst_layouts_init |
( |
struct fdmi_ctx * |
ctx | ) |
|
|
static |
◆ inst_net_fini()
static void inst_net_fini |
( |
struct fdmi_ctx * |
ctx | ) |
|
|
static |
◆ inst_net_init()
static int inst_net_init |
( |
struct fdmi_ctx * |
ctx, |
|
|
const char * |
local_addr |
|
) |
| |
|
static |
◆ inst_reqh_services_start()
static int inst_reqh_services_start |
( |
struct fdmi_ctx * |
ctx | ) |
|
|
static |
◆ inst_rpc_fini()
static void inst_rpc_fini |
( |
struct fdmi_ctx * |
ctx | ) |
|
|
static |
◆ inst_rpc_init()
static int inst_rpc_init |
( |
struct fdmi_ctx * |
ctx | ) |
|
|
static |
◆ inst_service_start()
◆ list_containers()
void list_containers |
( |
struct m0_clovis_container * |
cont | ) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ CLASSIFY_PLUGIN_FID
struct m0_fid CLASSIFY_PLUGIN_FID |
|
static |
Initial value:
Definition at line 58 of file main.c.
◆ ctx
◆ default_layout
◆ instance
◆ large_cont
struct m0_clovis_container large_cont |
|
static |
◆ m0c
◆ max_rpc_msg_size
◆ my_realm
struct m0_clovis_realm my_realm |
◆ pipe_fds
◆ pool
◆ small_cont
struct m0_clovis_container small_cont |
|
static |
◆ tm_recv_queue_min_len
uint32_t tm_recv_queue_min_len = 10 |
|
static |