commit | f48b467cba78af0843c7320caf841e2bee72fb1e | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Fri Oct 27 11:30:07 2006 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Fri Oct 27 11:30:07 2006 +0200 |
tree | 413f8abda1bc97c7ce859761f3c283a098ac257e | |
parent | 076efc7c60c351df783960a646e7fe8fba29dc19 [diff] [blame] |
[PATCH cpu io threads need not have lots of stuff setup Everything that has to do with io can be skipped. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/log.c b/log.c index 1343556..b151164 100644 --- a/log.c +++ b/log.c
@@ -172,6 +172,9 @@ { int ret = 0; + if (td->io_ops->flags & FIO_CPUIO) + return 0; + if (td->read_iolog_file) ret = init_iolog_read(td); else if (td->write_iolog_file)