From: Tomohiro Kusumi Date: Tue, 14 Feb 2017 15:19:46 +0000 (+0200) Subject: Add missing "rand"/"trimwrite" strings to corresponding ddir slots X-Git-Tag: fio-2.18~16 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=6d6a7e02b818072ec5016662917f3b5cd0f2f3e0;hp=34c9f82301a584899a9e65e4b9f56d98c38a52e7 Add missing "rand"/"trimwrite" strings to corresponding ddir slots though "rand" alone is unused. Signed-off-by: Tomohiro Kusumi Signed-off-by: Jens Axboe --- diff --git a/io_ddir.h b/io_ddir.h index 2141119a..613d5fbc 100644 --- a/io_ddir.h +++ b/io_ddir.h @@ -61,9 +61,9 @@ static inline int ddir_rw(enum fio_ddir ddir) static inline const char *ddir_str(enum td_ddir ddir) { - static const char *__str[] = { NULL, "read", "write", "rw", NULL, + static const char *__str[] = { NULL, "read", "write", "rw", "rand", "randread", "randwrite", "randrw", - "trim", NULL, NULL, NULL, "randtrim" }; + "trim", NULL, "trimwrite", NULL, "randtrim" }; return __str[ddir]; }