All of lore.kernel.org
 help / color / mirror / Atom feed
* Copy/paste nit in io_ddir.h?
@ 2016-02-05  8:59 Andrey Kuzmin
  2016-02-05 15:13 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Kuzmin @ 2016-02-05  8:59 UTC (permalink / raw)
  To: Jens Axboe; +Cc: fio@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 478 bytes --]

diff --git a/io_ddir.h b/io_ddir.h
index e5eff68..071b036 100644
--- a/io_ddir.h
+++ b/io_ddir.h
@@ -17,7 +17,7 @@ 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", };
+                               "sync_file_range", "wait", };

        if (ddir < DDIR_LAST)
                return name[ddir];

Regards,
Andrey

[-- Attachment #2: Type: text/html, Size: 794 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: Copy/paste nit in io_ddir.h?
  2016-02-05  8:59 Copy/paste nit in io_ddir.h? Andrey Kuzmin
@ 2016-02-05 15:13 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2016-02-05 15:13 UTC (permalink / raw)
  To: Andrey Kuzmin; +Cc: fio@vger.kernel.org

On 02/05/2016 01:59 AM, Andrey Kuzmin wrote:
> diff --git a/io_ddir.h b/io_ddir.h
> index e5eff68..071b036 100644
> --- a/io_ddir.h
> +++ b/io_ddir.h
> @@ -17,7 +17,7 @@ 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", };
> +                               "sync_file_range", "wait", };
>          if (ddir < DDIR_LAST)
>                  return name[ddir];

Indeed, thanks, applied.

-- 
Jens Axboe



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-05 15:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-05  8:59 Copy/paste nit in io_ddir.h? Andrey Kuzmin
2016-02-05 15:13 ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.