projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad1f90a
)
Fix broken 'norandommap'
author
Jens Axboe
<axboe@kernel.dk>
Thu, 29 Nov 2012 20:37:11 +0000
(21:37 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 29 Nov 2012 20:37:11 +0000
(21:37 +0100)
commit
8055e41d
broke the option, always falling through to
the failure case.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
filesetup.c
patch
|
blob
|
blame
|
history
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"