projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' into gfio
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index e047677e1b507d0923dfe781f5c354f63248a62c..347e1159fa5d5d69e48faebe31965ea508aef60c 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-78,7
+78,7
@@
static void mark_random_map(struct thread_data *td, struct io_u *io_u)
mask = -1UL;
else
mask = ((1UL << this_blocks) - 1) << bit;
-
+
if (!(f->file_map[idx] & mask))
break;
@@
-310,7
+310,7
@@
static int get_next_block(struct thread_data *td, struct io_u *io_u,
ret = 1;
}
}
-
+
if (!ret) {
if (offset != -1ULL)
io_u->offset = offset;