[PATCH] fio: aio_depth -> iodepth
authorJens Axboe <axboe@suse.de>
Tue, 6 Dec 2005 12:33:14 +0000 (13:33 +0100)
committerJens Axboe <axboe@suse.de>
Tue, 6 Dec 2005 12:33:14 +0000 (13:33 +0100)
README.fio
fio-ini.c

index 361e074b7f41d926e33e9e1fa6cfd39c1fa51cbb..4e33af3a76d75558a5c585df6a64c0bc0065ea58 100644 (file)
@@ -24,6 +24,9 @@ The <jobs> 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 <jobs> 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
index 4a75d65fc5b08d340ceb6330db0565cb8798f34c..88f3b59a10bcd96dab52445e0abcaafe39cc90a9 100644 (file)
--- 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;
                        }