projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b9c5b64
)
Fix typo in mark_random_map()
author
Jens Axboe
<jens.axboe@oracle.com>
Mon, 18 Feb 2008 13:14:53 +0000
(14:14 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Mon, 18 Feb 2008 13:14:53 +0000
(14:14 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
io_u.c
patch
|
blob
|
blame
|
history
diff --git
a/io_u.c
b/io_u.c
index a56a6f2d32af8d5a49ba54bd186ba9ed1e235c5f..9ab33f39da6cec4eb2fb2ae3c29e961660020438 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-55,7
+55,7
@@
static void mark_random_map(struct thread_data *td, struct io_u *io_u)
* If we have a mixed random workload, we may
* encounter blocks we already did IO to.
*/
* If we have a mixed random workload, we may
* encounter blocks we already did IO to.
*/
- if (
!td->o.ddir_nr == 1
&& !random_map_free(td, f, block))
+ if (
(td->o.ddir_nr == 1)
&& !random_map_free(td, f, block))
break;
idx = RAND_MAP_IDX(td, f, block);
break;
idx = RAND_MAP_IDX(td, f, block);