From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: From: kusumi.tomohiro@gmail.com Subject: [PATCH v2 5/7] Add missing "rand"/"trimwrite" strings to corresponding ddir slots Date: Tue, 14 Feb 2017 17:19:46 +0200 Message-Id: <20170214151948.16460-6-tkusumi@tuxera.com> In-Reply-To: <20170214151948.16460-1-tkusumi@tuxera.com> References: <20170214151948.16460-1-tkusumi@tuxera.com> To: axboe@kernel.dk, fio@vger.kernel.org Cc: Tomohiro Kusumi List-ID: From: Tomohiro Kusumi though "rand" alone is unused. Signed-off-by: Tomohiro Kusumi --- io_ddir.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/io_ddir.h b/io_ddir.h index 2141119..613d5fb 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.9.3