projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
io_uring: fix possible infinite loop
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index a2b70c4acb4ba51a7916eda28f90bbcf3cdb10a9..738342799c5cc391494b43d3de8433939698cb35 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-1217,7
+1217,7
@@
static void init_flags(struct thread_data *td)
static int setup_random_seeds(struct thread_data *td)
{
static int setup_random_seeds(struct thread_data *td)
{
- u
nsigned long
seed;
+ u
int64_t
seed;
unsigned int i;
if (!td->o.rand_repeatable && !fio_option_is_set(&td->o, rand_seed)) {
unsigned int i;
if (!td->o.rand_repeatable && !fio_option_is_set(&td->o, rand_seed)) {
@@
-2907,6
+2907,7
@@
int parse_cmd_line(int argc, char *argv[], int client_type)
log_err("%s: unrecognized option '%s'\n", argv[0],
argv[optind - 1]);
show_closest_option(argv[optind - 1]);
log_err("%s: unrecognized option '%s'\n", argv[0],
argv[optind - 1]);
show_closest_option(argv[optind - 1]);
+ /* fall through */
default:
do_exit++;
exit_val = 1;
default:
do_exit++;
exit_val = 1;