X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=io_ddir.h;h=613d5fbce2625ab5b9b41d74fcab5ffebdd2694a;hp=763e82659e3ce414827da9919a2339d32967f88c;hb=ef2b61aa1b77ed11fbe887692f4472bdb228f573;hpb=ecfd2bb08cc87bc9a1b3d612258f1fdfb4d09698 diff --git a/io_ddir.h b/io_ddir.h index 763e8265..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) { - 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]; }