* [PATCH] fio:modify a deprecated parameter(change timeout to runtime)
@ 2012-08-31 15:15 liang xie
2012-08-31 15:23 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: liang xie @ 2012-08-31 15:15 UTC (permalink / raw)
To: fio; +Cc: jaxboe
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>
---
README | 12 ++++++------
fio.1 | 4 ++--
init.c | 2 +-
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/README b/README
index 8bce835..7589e2f 100644
--- 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
@@ -138,8 +138,8 @@ $ fio
May be "always", "never" or "auto"
--section=name Only run specified section in job file.
Multiple sections can be specified.
- --alloc-size=kb Set smalloc pool to this size in kb (def 1024)
- --warnings-fatal Fio parser warnings are fatal
+ --alloc-size=kb Set smalloc pool to this size in kb (def 1024)
+ --warnings-fatal Fio parser warnings are fatal
--max-jobs Maximum number of threads/processes to support
--server=args Start backend server. See Client/Server section.
--client=host Connect to specified backend.
@@ -161,11 +161,11 @@ options in fio. Currently the options are:
process Dump info related to processes
file Dump info related to file actions
- io Dump info related to IO queuing
- mem Dump info related to memory allocations
+ io Dump info related to IO queuing
+ mem Dump info related to memory allocations
blktrace Dump info related to blktrace setup
verify Dump info related to IO verification
- all Enable all debug options
+ all Enable all debug options
random Dump info related to random offset generation
parse Dump info related to option matching and parsing
diskutil Dump info related to disk utilization updates
diff --git a/fio.1 b/fio.1
index 5b61e43..086cf9d 100644
--- 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
--- 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");
--
1.7.9.6 (Apple Git-31.1)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fio:modify a deprecated parameter(change timeout to runtime)
2012-08-31 15:15 [PATCH] fio:modify a deprecated parameter(change timeout to runtime) liang xie
@ 2012-08-31 15:23 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2012-08-31 15:23 UTC (permalink / raw)
To: liang xie; +Cc: fio@vger.kernel.org
On 2012-08-31 08:15, liang xie wrote:
> since "timeout" had been deprecated long long ago, we should replace
> to "runtime" both in code and docs
Better, applied :-)
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-31 15:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-31 15:15 [PATCH] fio:modify a deprecated parameter(change timeout to runtime) liang xie
2012-08-31 15:23 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox