projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix broken 'norandommap'
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index 4fe37ae7fdd70a31b4cd5cf268d2c271a6dae695..9fb325bd18b392f1c1419a01a6518b34da6d90fb 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-924,7
+924,8
@@
int init_random_map(struct thread_data *td)
f->io_axmap = axmap_new(blocks);
if (f->io_axmap)
continue;
- }
+ } else if (td->o.norandommap)
+ continue;
if (!td->o.softrandommap) {
log_err("fio: failed allocating random map. If running"