https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240798
Bug ID: 240798 Summary: nvmecontrol perftest is broken Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: b...@freebsd.org Reporter: stefanr...@yahoo.com Recent changes in perftest.c /sbin/nvmecontrol/perftest.c have broken the tool. The settings for the test (threads, size) are not set into the ioctl struct and there is check failure where you always need to add -f something or else it wil not accept your parameters. --- /sbin/nvmecontrol/perftest.c 146c146 < if (opt.flags == NULL || opt.op == NULL) --- > if (opt.op == NULL) 148c148 < if (strcmp(opt.flags, "refthread") == 0) --- > if (opt.flags != NULL && strcmp(opt.flags, "refthread") == 0) 165a166,167 > io_test.num_threads = opt.threads; > 173a176,181 > if (opt.size < 0){ > fprintf(stderr, "Invalid size.\n"); > arg_help(argc, argv, f); > } > > io_test.size=opt.size; -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"