Add alias for 'disable_bw_measurement' option
authorJens Axboe <axboe@fb.com>
Wed, 12 Oct 2016 14:59:25 +0000 (08:59 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 12 Oct 2016 14:59:25 +0000 (08:59 -0600)
'disable_bw', similarly to the stats options.

Reported-by: Bruce Cran <bruce.cran@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
options.c

index bcda556403dec102ac771c94fc598a78f02898fb..3c9adfbe8faa7546cc605a986add7349d9a86fd0 100644 (file)
--- a/options.c
+++ b/options.c
@@ -3920,6 +3920,7 @@ struct fio_option fio_options[FIO_MAX_OPTS] = {
        },
        {
                .name   = "disable_bw_measurement",
        },
        {
                .name   = "disable_bw_measurement",
+               .alias  = "disable_bw",
                .lname  = "Disable bandwidth stats",
                .type   = FIO_OPT_BOOL,
                .off1   = offsetof(struct thread_options, disable_bw),
                .lname  = "Disable bandwidth stats",
                .type   = FIO_OPT_BOOL,
                .off1   = offsetof(struct thread_options, disable_bw),