Motr
M0
|
#include "lib/trace.h"
#include "lib/assert.h"
#include "lib/misc.h"
#include "lib/memory.h"
#include "fop/fop.h"
#include "net/lnet/lnet.h"
#include "rpc/rpc.h"
#include "rpc/rpclib.h"
#include "lib/getopts.h"
#include "motr/init.h"
#include "pool/pool.h"
#include "pool/pool_fops.h"
#include "module/instance.h"
Go to the source code of this file.
Data Structures | |
struct | rpc_ctx |
Macros | |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_POOL |
Enumerations | |
enum | { MAX_RPCS_IN_FLIGHT = 10, MAX_DEV_NR = 100, MAX_SERVERS = 1024 } |
Functions | |
static int | poolmach_client_init (void) |
static void | poolmach_client_fini (void) |
static int | poolmach_rpc_ctx_init (struct rpc_ctx *ctx, const char *sep) |
static void | poolmach_rpc_ctx_fini (struct rpc_ctx *ctx) |
static void | print_help (void) |
int | main (int argc, char *argv[]) |
Variables | |
static struct m0_net_domain | cl_ndom |
static struct m0_rpc_client_ctx | cl_ctx |
static struct m0_fid | cl_process_fid = M0_FID_TINIT('r', 0, 1) |
static const char * | cl_ep_addr |
static const char * | srv_ep_addr [MAX_SERVERS] |
static struct m0_fid | device_fid_arr [MAX_DEV_NR] |
static int64_t | device_state_arr [MAX_DEV_NR] |
static int | di = 0 |
static int | ds = 0 |
static uint32_t | dev_nr = 0 |
static struct m0_mutex | poolmach_wait_mutex |
static struct m0_chan | poolmach_wait |
static int32_t | srv_cnt = 0 |
struct m0_fop_type | trigger_fop_fopt |
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_POOL |
Definition at line 23 of file pool_trigger.c.
anonymous enum |
Enumerator | |
---|---|
MAX_RPCS_IN_FLIGHT | |
MAX_DEV_NR | |
MAX_SERVERS |
Definition at line 43 of file pool_trigger.c.
int main | ( | int | argc, |
char * | argv[] | ||
) |
|
static |
Definition at line 83 of file pool_trigger.c.
|
static |
Definition at line 63 of file pool_trigger.c.
|
static |
Definition at line 104 of file pool_trigger.c.
|
static |
Definition at line 94 of file pool_trigger.c.
|
static |
|
static |
Definition at line 40 of file pool_trigger.c.
|
static |
Definition at line 49 of file pool_trigger.c.
|
static |
Definition at line 39 of file pool_trigger.c.
|
static |
Definition at line 41 of file pool_trigger.c.
|
static |
Definition at line 55 of file pool_trigger.c.
|
static |
Definition at line 51 of file pool_trigger.c.
|
static |
Definition at line 52 of file pool_trigger.c.
|
static |
Definition at line 53 of file pool_trigger.c.
|
static |
Definition at line 54 of file pool_trigger.c.
|
static |
Definition at line 119 of file pool_trigger.c.
|
static |
Definition at line 118 of file pool_trigger.c.
|
static |
Definition at line 120 of file pool_trigger.c.
|
static |
Definition at line 50 of file pool_trigger.c.
struct m0_fop_type trigger_fop_fopt |