commit | 1cad7121e8e6c59440ae43545be05fa302e4110d | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Nov 29 21:37:11 2012 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Nov 29 21:37:11 2012 +0100 |
tree | e963c72b8685ee3c279aa44d29839431243a6c54 | |
parent | ad1f90aa84ba96916d02043958ee416a499f3f25 [diff] [blame] |
Fix broken 'norandommap' commit 8055e41d broke the option, always falling through to the failure case. Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/filesetup.c b/filesetup.c index 4fe37ae..9fb325b 100644 --- a/filesetup.c +++ b/filesetup.c
@@ -924,7 +924,8 @@ 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"