projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Fix random seed for numjobs > 1
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index 9e41d55af957a66d6a0900462d5d4ca5a8c7f038..1dec2bbd324209acf04b72e1430c4d1d5d9db2cb 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-845,7
+845,7
@@
int init_random_state(struct thread_data *td)
return 0;
if (td->rand_repeatable)
- seeds[3] = FIO_RANDSEED;
+ seeds[3] = FIO_RANDSEED
* td->thread_number
;
if (!td->norandommap) {
for_each_file(td, f, i) {