40 fprintf(
file,
"Usage: %s [OPTION]...\n" 41 "Create empty MOTR object.\n" 43 "Mandatory arguments to long options are mandatory for short options too.\n" 44 " -l, --local ADDR Local endpoint address.\n" 45 " -H, --ha ADDR HA endpoint address.\n" 46 " -p, --profile FID Profile FID.\n" 47 " -P, --process FID Process FID.\n" 48 " -o, --object FID ID of the motr object. " 49 "Object id should larger than " 50 "M0_ID_APP.\n%*c The first 0x100000 " 51 "ids are reserved for use by client.\n" 52 " -L, --layout-id INT Layout ID, Range:[1-14].\n" 53 " -n, --n_obj INT Number of objects to touch.\n" 54 " -S, --msg_size INT Max RPC msg size 64k i.e 65536\n" 55 "%*c Note: this should match with m0d's " 56 "current rpc msg size\n" 57 " -q, --min_queue INT Minimum length of the receive queue i.e 16\n" 59 " -e, --enable-locks Enables acquiring and releasing RW locks " 60 "before and after performing IO.\n" 61 " -h, --help Shows this help text and exit.\n" 66 int main(
int argc,
char **argv)
77 conf.mc_is_read_verify =
false;
81 fprintf(stderr,
"init failed! rc = %d\n",
rc);
93 fprintf(stderr,
"Object id: " U128X_F "exists. " 98 fprintf(stderr,
"Failed to touch Object id: " static void touch_usage(FILE *file, char *prog_name)
M0_INTERNAL void client_init(struct sim *s, struct client_conf *conf)
const struct m0_uint128 M0_ID_APP
static struct m0_idx_dix_config dix_conf
int m0_utility_args_init(int argc, char **argv, struct m0_utility_param *params, struct m0_idx_dix_config *dix_conf, struct m0_config *conf, void(*utility_usage)(FILE *, char *))
int touch(struct m0_container *container, struct m0_uint128 id, bool take_locks)
static struct m0_container container
M0_INTERNAL void client_fini(struct client_conf *conf)
int main(int argc, char **argv)