Motr
M0
|
#include "rm/rm_service.h"
#include "rm/ut/rmut.h"
#include "rpc/rpclib.h"
#include "ut/misc.h"
#include "ut/ut.h"
Go to the source code of this file.
Macros | |
#define | SERVER_ENDPOINT_ADDR "0@lo:12345:34:1" |
#define | SERVER_ENDPOINT M0_NET_XPRT_PREFIX_DEFAULT":"SERVER_ENDPOINT_ADDR |
#define | SERVER_DB "server_db" |
#define | SERVER_STOB "server_stob" |
#define | SERVER_ADDB_STOB "linuxstob:server_addb_stob" |
#define | SERVER_LOG "rmserver.log" |
Functions | |
void | flock_client_utdata_ops_set (struct rm_ut_data *data) |
static void | rm_service_start (struct m0_rpc_server_ctx *sctx) |
static void | rm_service_stop (struct m0_rpc_server_ctx *sctx) |
static void | rm_svc_server (const int tid) |
static void | test_flock (struct m0_rm_owner *owner, struct m0_file *file, struct m0_fid *fid, struct m0_rm_remote *creditor, bool unwind) |
static void | rm_client (const int tid) |
void | rmsvc (void) |
Variables | |
static char * | server_argv [] |
struct m0_reqh_service_type | m0_rms_type |
static struct rm_ctx * | server_ctx = &rm_ctxs[SERVER_1] |
static struct rm_ctx * | client_ctx = &rm_ctxs[SERVER_2] |
static struct m0_clink | tests_clink [TEST_NR] |
static struct m0_rpc_server_ctx | sctx |
#define SERVER_ADDB_STOB "linuxstob:server_addb_stob" |
Definition at line 33 of file rm_service.c.
#define SERVER_DB "server_db" |
Definition at line 31 of file rm_service.c.
#define SERVER_ENDPOINT M0_NET_XPRT_PREFIX_DEFAULT":"SERVER_ENDPOINT_ADDR |
Definition at line 30 of file rm_service.c.
#define SERVER_ENDPOINT_ADDR "0@lo:12345:34:1" |
Definition at line 29 of file rm_service.c.
#define SERVER_LOG "rmserver.log" |
Definition at line 34 of file rm_service.c.
#define SERVER_STOB "server_stob" |
Definition at line 32 of file rm_service.c.
void flock_client_utdata_ops_set | ( | struct rm_ut_data * | data | ) |
|
static |
Definition at line 120 of file rm_service.c.
|
static |
Definition at line 58 of file rm_service.c.
|
static |
Definition at line 66 of file rm_service.c.
|
static |
Definition at line 71 of file rm_service.c.
void rmsvc | ( | void | ) |
|
static |
Definition at line 89 of file rm_service.c.
Definition at line 47 of file rm_service.c.
|
static |
Definition at line 51 of file rm_service.c.
|
static |
Definition at line 36 of file rm_service.c.
Definition at line 46 of file rm_service.c.
Definition at line 48 of file rm_service.c.