projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Generate a new Windows installer product code for 2.0.11.
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index a682423e9801be03a120b6d038f0b8fd6c762c1c..70217418ce5f75df75bc88a0cec2d7223a5d7183 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-596,6
+596,13
@@
static int fixup_options(struct thread_data *td)
td->o.compress_percentage = 0;
}
+ /*
+ * Using a non-uniform random distribution excludes usage of
+ * a random map
+ */
+ if (td->o.random_distribution != FIO_RAND_DIST_RANDOM)
+ td->o.norandommap = 1;
+
return ret;
}