do {
r = os_random_long(&td->random_state);
b = ((max_blocks - 1) * r / (unsigned long long) (RAND_MAX+1.0));
+ if (td->norandommap)
+ break;
rb = b + (f->file_offset / td->min_bs);
loops--;
} while (!random_map_free(td, f, rb) && loops);
return NULL;
}
- if (!td->read_iolog && !td->sequential)
+ if (!td->read_iolog && !td->sequential && !td->norandommap)
mark_random_map(td, f, io_u);
f->last_pos += io_u->buflen;