X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=io_ddir.h;h=613d5fbce2625ab5b9b41d74fcab5ffebdd2694a;hp=e5eff687d95d1b6ed91788804d14c32b5d67893f;hb=9e55f2c7debac6683b1c41ce1f816ed868396798;hpb=82a9068691e1db7854990fb06b748c8049231527 diff --git a/io_ddir.h b/io_ddir.h index e5eff687..613d5fbc 100644 --- a/io_ddir.h +++ b/io_ddir.h @@ -16,8 +16,9 @@ enum fio_ddir { static inline const char *io_ddir_name(enum fio_ddir ddir) { - const char *name[] = { "read", "write", "trim", "sync", "datasync", - "sync_file_range", "write", }; + static const char *name[] = { "read", "write", "trim", "sync", + "datasync", "sync_file_range", + "wait", }; if (ddir < DDIR_LAST) return name[ddir]; @@ -60,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]; }