42 fprintf(
file,
"Usage: %s [OPTION]...\n" 45 "Mandatory arguments to long options are mandatory for short options too.\n" 46 " -l, --local ADDR local endpoint address\n" 47 " -H, --ha ADDR HA endpoint address\n" 48 " -p, --profile FID profile FID\n" 49 " -P, --process FID process FID\n" 50 " -o, --object FID ID of the motr object. " 51 "Object id should larger than " 52 "M0_ID_APP.\n%*c The first 0x100000 " 53 "ids are reserved for use by client.\n" 54 " -L, --layout-id INT layout ID, range: [1-14]\n" 55 " -n, --n_obj INT No of objects to unlink\n" 56 " -e, --enable-locks enables acquiring and releasing RW locks " 57 "before and after performing IO.\n" 58 " -S, --msg_size INT Max RPC msg size 64k i.e 65536\n" 59 "%*c Note: this should match with m0d's " 60 "current rpc msg size\n" 61 " -q, --min_queue INT Minimum length of the receive queue i.e 16\n" 62 " -h, --help shows this help text and exit\n" 67 int main(
int argc,
char **argv)
79 fprintf(stderr,
"init failed! rc = %d\n",
rc);
90 fprintf(stderr,
"Failed to unlink obj id: %" PRIu64 ", "
static struct m0_container container
M0_INTERNAL void client_init(struct sim *s, struct client_conf *conf)
const struct m0_uint128 M0_ID_APP
static void unlink_usage(FILE *file, char *prog_name)
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 main(int argc, char **argv)
M0_INTERNAL void client_fini(struct client_conf *conf)
static struct m0_idx_dix_config dix_conf
int m0_unlink(struct m0_container *container, struct m0_uint128 id, bool take_locks)