From: Jens Axboe Date: Mon, 4 Feb 2008 08:35:03 +0000 (+0100) Subject: Don't force iodepth == 1 for SYNC io engine X-Git-Tag: fio-1.18~10 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=47bc8bc0396c4b547eb276f2e81a5f781198b114 Don't force iodepth == 1 for SYNC io engine Most will not do queuing, but allow it to be set in case some of them do. Signed-off-by: Jens Axboe --- diff --git a/init.c b/init.c index 721978f6..66b7afe4 100644 --- a/init.c +++ b/init.c @@ -213,13 +213,6 @@ static int fixup_options(struct thread_data *td) o->write_iolog_file = NULL; } - if (td->io_ops->flags & FIO_SYNCIO) - o->iodepth = 1; - else { - if (!o->iodepth) - o->iodepth = o->open_files; - } - /* * only really works for sequential io for now, and with 1 file */