fio:modify a deprecated parameter(change timeout to runtime)
authorliang xie <xieliang007@gmail.com>
Fri, 31 Aug 2012 15:22:42 +0000 (08:22 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 31 Aug 2012 15:22:42 +0000 (08:22 -0700)
since "timeout" had been deprecated long long ago, we should replace
to "runtime" both in code and docs

Signed-off-by: Liang Xie <xieliang@xiaomi.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
README
fio.1
init.c

diff --git a/README b/README
index 8514c73236c9ae9c7fa590b22eb176b7f64b5f3a..c629e2dbb463e817e91a0c2e8c926e2fccd53222 100644 (file)
--- a/README
+++ b/README
@@ -121,7 +121,7 @@ Command line
 $ fio
        --debug                 Enable some debugging options (see below)
        --output                Write output to file
-       --timeout               Runtime in seconds
+       --runtime               Runtime in seconds
        --latency-log           Generate per-job latency logs
        --bandwidth-log         Generate per-job bandwidth logs
        --minimal               Minimal (terse) output
diff --git a/fio.1 b/fio.1
index 5b61e438729a0f4fe39d6771b05d2a346b750374..086cf9d007a157735e4c213ffd97c71d94dcdb82 100644 (file)
--- a/fio.1
+++ b/fio.1
@@ -20,8 +20,8 @@ list all available tracing options.
 .BI \-\-output \fR=\fPfilename
 Write output to \fIfilename\fR.
 .TP
-.BI \-\-timeout \fR=\fPtimeout
-Limit run time to \fItimeout\fR seconds.
+.BI \-\-runtime \fR=\fPruntime
+Limit run time to \fIruntime\fR seconds.
 .TP
 .B \-\-latency\-log
 Generate per-job latency logs.
diff --git a/init.c b/init.c
index 824828cfa5d6ff5d809693c36236ec6355b1e59d..9f597a95864cde76707df74c329f2679ca0b68b5 100644 (file)
--- a/init.c
+++ b/init.c
@@ -1185,7 +1185,7 @@ static void usage(const char *name)
                "\t\t\tprocess,file,io,mem,blktrace,verify,random,parse,\n"
                "\t\t\tdiskutil,job,mutex,profile,time,net\n");
        printf("  --output\t\tWrite output to file\n");
-       printf("  --timeout\t\tRuntime in seconds\n");
+       printf("  --runtime\t\tRuntime in seconds\n");
        printf("  --latency-log\t\tGenerate per-job latency logs\n");
        printf("  --bandwidth-log\tGenerate per-job bandwidth logs\n");
        printf("  --minimal\t\tMinimal (terse) output\n");