27 #include <sys/resource.h> 29 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CAS 45 M0_INTERNAL
int main(
int argc,
char **argv)
49 struct rlimit rlim = {10240, 10240};
55 (strcmp(argv[1],
"-v") == 0 || strcmp(argv[1],
"--version") == 0)) {
60 rc = setrlimit(RLIMIT_NOFILE, &rlim);
66 for (
i = 0;
i < argc; ++
i)
100 rc =
ctgdump(&motr_ctx, argv[argc - 1], argv[argc - 2]);
108 errno =
rc < 0 ? -
rc :
rc;
void cs_fini(struct m0_motr *sctx)
struct m0_uint128 uuid[1000]
void m0_console_printf(const char *fmt,...)
int m0_cs_setup_env(struct m0_motr *cctx, int argc, char **argv)
void m0_cs_fini(struct m0_motr *cctx)
int m0_init(struct m0 *instance)
void m0_build_info_print(void)
void m0_node_uuid_string_set(const char *uuid)
M0_INTERNAL int main(int argc, char **argv)
int m0_cs_init(struct m0_motr *cctx, struct m0_net_xprt **xprts, size_t xprts_nr, FILE *out, bool mkfs)
struct m0_net_xprt ** m0_net_all_xprt_get(void)
int ctgdump(struct m0_motr *motr_ctx, char *fidstr, char *dump_in_hex_str)
static struct m0 instance