summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2011-01-17 16:51:46 -0700
committerJens Axboe <jaxboe@fusionio.com>2011-01-17 16:51:46 -0700
commita6294434450db2728f1253ec6b6d2f57ef864b94 (patch)
treefd2d2176bf2d227203c29adcbf1a875e53780ad0
parenta9523c6f4a43e4bbf942ee49068fe4f052c6991d (diff)
downloadfio-a6294434450db2728f1253ec6b6d2f57ef864b94.tar.gz
fio-a6294434450db2728f1253ec6b6d2f57ef864b94.tar.bz2
Correct check to o->numjobs > 1 for verify warning
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
-rw-r--r--init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.c b/init.c
index 2d467171..dcb01934 100644
--- a/init.c
+++ b/init.c
@@ -379,7 +379,7 @@ static int fixup_options(struct thread_data *td)
"pre-populated the file\n");
ret = warnings_fatal;
}
- if (td_write(td) && o->numjobs) {
+ if (td_write(td) && o->numjobs > 1) {
log_info("Multiple writers may overwrite blocks that "
"belong to other jobs. This can cause "
"verification failures.\n");