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 8514c73..c629e2d 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 5b61e43..086cf9d 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 824828c..9f597a9 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");