From: Jens Axboe Date: Thu, 25 Nov 2010 07:21:39 +0000 (+0100) Subject: nrfiles vs nr_files mixups X-Git-Tag: fio-1.44.3~5^2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=d7c8be035a17054b165343c40dc8773f103f1fc7;p=fio.git 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 --- 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",