commit | 2dc1bbeb58edc85f2829eed6729862c438ea2353 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Thu Mar 15 15:01:33 2007 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu Mar 15 15:01:33 2007 +0100 |
tree | 57000b694e792e8a5ae9367525f726598ece7f04 | |
parent | d3aad8f28b9e214fccfce5e3a406dec723f57a62 [diff] [blame] |
Move thread options into a seperate structure Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/ioengines.c b/ioengines.c index b18bc9a..0e5ea62 100644 --- a/ioengines.c +++ b/ioengines.c
@@ -215,7 +215,7 @@ int r; td->io_u_queued++; - if (td->io_u_queued > td->iodepth_batch) { + if (td->io_u_queued > td->o.iodepth_batch) { r = td_io_commit(td); if (r < 0) return r;