From 6d6a7e02b818072ec5016662917f3b5cd0f2f3e0 Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Tue, 14 Feb 2017 17:19:46 +0200 Subject: [PATCH] Add missing "rand"/"trimwrite" strings to corresponding ddir slots though "rand" alone is unused. Signed-off-by: Tomohiro Kusumi Signed-off-by: Jens Axboe --- io_ddir.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]; } -- 2.25.1