From c9a28538014991ccd71c119f978c1a9c527cc578 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 6 Dec 2005 13:33:14 +0100 Subject: [PATCH] [PATCH] fio: aio_depth -> iodepth --- README.fio | 6 ++++-- fio-ini.c | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.fio b/README.fio index 361e074..4e33af3 100644 --- a/README.fio +++ b/README.fio @@ -24,6 +24,9 @@ The format is as follows: directory=x Use 'x' as the top level directory for storing files rw=x 'x' may be: read, randread, write, or randwrite + ioengine=x 'x' may be: aio/libaio for Linux aio, posixaio for + POSIX aio, sync for regular read/write io, or + mmap for mmap'ed io. overwrite=x If 'x', layout a write file first. prio=x Run io at prio X, 0-7 is the kernel allowed range prioclass=x Run io at prio class X @@ -39,8 +42,7 @@ The format is as follows: fsync=x If writing, fsync after every x blocks have been written startdelay=x Start this thread x seconds after startup timeout=x Terminate x seconds after startup - aio Use Linux async io - aio_depth=x Allow x iocbs in flight + iodepth=x For async io, allow 'x' ios in flight size=x Set file size to x bytes (x string can include k/m/g) offset=x Start io at offset x (x string can include k/m/g) invalidate=x Invalidate page cache for file prior to doing io diff --git a/fio-ini.c b/fio-ini.c index 4a75d65..88f3b59 100644 --- a/fio-ini.c +++ b/fio-ini.c @@ -650,7 +650,7 @@ int parse_jobs_ini(char *file) fgetpos(f, &off); continue; } - if (!check_int(p, "aio_depth", &td->aio_depth)) { + if (!check_int(p, "iodepth", &td->aio_depth)) { fgetpos(f, &off); continue; } -- 2.25.1