projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fio 3.31
[fio.git]
/
lib
/
rand.c
diff --git
a/lib/rand.c
b/lib/rand.c
index 1df1a7a049b9b14bb3c9334d4c2b7314e6168b07..1e669116f38ccac2c178ef7cbe850bd49ff02cc3 100644
(file)
--- a/
lib/rand.c
+++ b/
lib/rand.c
@@
-103,7
+103,7
@@
void __fill_random_buf(void *buf, unsigned int len, uint64_t seed)
for (; b != e; ++b) {
*b = seed;
- seed
*= GOLDEN_RATIO_64
;
+ seed
= __hash_u64(seed)
;
}
if (fio_unlikely(rest))