From d7c8be035a17054b165343c40dc8773f103f1fc7 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 25 Nov 2010 08:21:39 +0100 Subject: [PATCH] nrfiles vs nr_files mixups The man page references nr_files, the real option is nrfiles. Change man page and add nr_files alias to nrfiles. Signed-off-by: Jens Axboe --- fio.1 | 2 +- options.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fio.1 b/fio.1 index f01bf3a4..b0276c4c 100644 --- a/fio.1 +++ b/fio.1 @@ -226,7 +226,7 @@ are likely to be issued. Default: true. .BI size \fR=\fPint Total size of I/O for this job. \fBfio\fR will run until this many bytes have been transfered, unless limited by other options (\fBruntime\fR, for instance). -Unless \fBnr_files\fR and \fBfilesize\fR options are given, this amount will be +Unless \fBnrfiles\fR and \fBfilesize\fR options are given, this amount will be divided between the available files for the job. If not set, fio will use the full size of the given files or devices. If the the files do not exist, size must be given. diff --git a/options.c b/options.c index d1110188..a08e2e43 100644 --- a/options.c +++ b/options.c @@ -1121,6 +1121,7 @@ static struct fio_option options[FIO_MAX_OPTS] = { }, { .name = "nrfiles", + .alias = "nr_files", .type = FIO_OPT_INT, .off1 = td_var_offset(nr_files), .help = "Split job workload between this number of files", -- 2.25.1