* [PATCH] docs: add 'io_uring' option to 'aio' param in qemu-options.hx
@ 2020-09-24 15:15 Stefano Garzarella
2020-09-24 15:57 ` Julia Suvorova
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Stefano Garzarella @ 2020-09-24 15:15 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Julia Suvorova, Aarushi Mehta, Stefan Hajnoczi,
Philippe Mathieu-Daudé
When we added io_uring AIO engine, we forgot to update qemu-options.hx,
so qemu(1) man page and qemu help were outdated.
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
---
qemu-options.hx | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index 47f64be0c0..5b098577fe 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1053,7 +1053,8 @@ SRST
The path to the image file in the local filesystem
``aio``
- Specifies the AIO backend (threads/native, default: threads)
+ Specifies the AIO backend (threads/native/io_uring,
+ default: threads)
``locking``
Specifies whether the image file is protected with Linux OFD
@@ -1175,7 +1176,8 @@ DEF("drive", HAS_ARG, QEMU_OPTION_drive,
"-drive [file=file][,if=type][,bus=n][,unit=m][,media=d][,index=i]\n"
" [,cache=writethrough|writeback|none|directsync|unsafe][,format=f]\n"
" [,snapshot=on|off][,rerror=ignore|stop|report]\n"
- " [,werror=ignore|stop|report|enospc][,id=name][,aio=threads|native]\n"
+ " [,werror=ignore|stop|report|enospc][,id=name]\n"
+ " [,aio=threads|native|io_uring]\n"
" [,readonly=on|off][,copy-on-read=on|off]\n"
" [,discard=ignore|unmap][,detect-zeroes=on|off|unmap]\n"
" [[,bps=b]|[[,bps_rd=r][,bps_wr=w]]]\n"
@@ -1247,8 +1249,8 @@ SRST
The default mode is ``cache=writeback``.
``aio=aio``
- aio is "threads", or "native" and selects between pthread based
- disk I/O and native Linux AIO.
+ aio is "threads", "native", or "io_uring" and selects between pthread
+ based disk I/O, native Linux AIO, or Linux io_uring API.
``format=format``
Specify which disk format will be used rather than detecting the
--
2.26.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] docs: add 'io_uring' option to 'aio' param in qemu-options.hx
2020-09-24 15:15 [PATCH] docs: add 'io_uring' option to 'aio' param in qemu-options.hx Stefano Garzarella
@ 2020-09-24 15:57 ` Julia Suvorova
2020-09-24 17:28 ` Pankaj Gupta
2020-09-25 8:38 ` Stefan Hajnoczi
2 siblings, 0 replies; 4+ messages in thread
From: Julia Suvorova @ 2020-09-24 15:57 UTC (permalink / raw)
To: Stefano Garzarella
Cc: Peter Maydell, Philippe Mathieu-Daudé, QEMU Developers,
Stefan Hajnoczi, Aarushi Mehta
On Thu, Sep 24, 2020 at 5:15 PM Stefano Garzarella <sgarzare@redhat.com> wrote:
>
> When we added io_uring AIO engine, we forgot to update qemu-options.hx,
> so qemu(1) man page and qemu help were outdated.
>
> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Julia Suvorova <jusual@redhat.com>
> ---
> qemu-options.hx | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/qemu-options.hx b/qemu-options.hx
> index 47f64be0c0..5b098577fe 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -1053,7 +1053,8 @@ SRST
> The path to the image file in the local filesystem
>
> ``aio``
> - Specifies the AIO backend (threads/native, default: threads)
> + Specifies the AIO backend (threads/native/io_uring,
> + default: threads)
>
> ``locking``
> Specifies whether the image file is protected with Linux OFD
> @@ -1175,7 +1176,8 @@ DEF("drive", HAS_ARG, QEMU_OPTION_drive,
> "-drive [file=file][,if=type][,bus=n][,unit=m][,media=d][,index=i]\n"
> " [,cache=writethrough|writeback|none|directsync|unsafe][,format=f]\n"
> " [,snapshot=on|off][,rerror=ignore|stop|report]\n"
> - " [,werror=ignore|stop|report|enospc][,id=name][,aio=threads|native]\n"
> + " [,werror=ignore|stop|report|enospc][,id=name]\n"
> + " [,aio=threads|native|io_uring]\n"
> " [,readonly=on|off][,copy-on-read=on|off]\n"
> " [,discard=ignore|unmap][,detect-zeroes=on|off|unmap]\n"
> " [[,bps=b]|[[,bps_rd=r][,bps_wr=w]]]\n"
> @@ -1247,8 +1249,8 @@ SRST
> The default mode is ``cache=writeback``.
>
> ``aio=aio``
> - aio is "threads", or "native" and selects between pthread based
> - disk I/O and native Linux AIO.
> + aio is "threads", "native", or "io_uring" and selects between pthread
> + based disk I/O, native Linux AIO, or Linux io_uring API.
>
> ``format=format``
> Specify which disk format will be used rather than detecting the
> --
> 2.26.2
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] docs: add 'io_uring' option to 'aio' param in qemu-options.hx
2020-09-24 15:15 [PATCH] docs: add 'io_uring' option to 'aio' param in qemu-options.hx Stefano Garzarella
2020-09-24 15:57 ` Julia Suvorova
@ 2020-09-24 17:28 ` Pankaj Gupta
2020-09-25 8:38 ` Stefan Hajnoczi
2 siblings, 0 replies; 4+ messages in thread
From: Pankaj Gupta @ 2020-09-24 17:28 UTC (permalink / raw)
To: Stefano Garzarella
Cc: Peter Maydell, Julia Suvorova, Qemu Developers, Stefan Hajnoczi,
Philippe Mathieu-Daudé, Aarushi Mehta
[-- Attachment #1: Type: text/plain, Size: 2027 bytes --]
> When we added io_uring AIO engine, we forgot to update qemu-options.hx,
> so qemu(1) man page and qemu help were outdated.
>
> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
> ---
> qemu-options.hx | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/qemu-options.hx b/qemu-options.hx
> index 47f64be0c0..5b098577fe 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -1053,7 +1053,8 @@ SRST
> The path to the image file in the local filesystem
>
> ``aio``
> - Specifies the AIO backend (threads/native, default: threads)
> + Specifies the AIO backend (threads/native/io_uring,
> + default: threads)
>
> ``locking``
> Specifies whether the image file is protected with Linux OFD
> @@ -1175,7 +1176,8 @@ DEF("drive", HAS_ARG, QEMU_OPTION_drive,
> "-drive [file=file][,if=type][,bus=n][,unit=m][,media=d][,index=i]\n"
> "
> [,cache=writethrough|writeback|none|directsync|unsafe][,format=f]\n"
> " [,snapshot=on|off][,rerror=ignore|stop|report]\n"
> - "
> [,werror=ignore|stop|report|enospc][,id=name][,aio=threads|native]\n"
> + " [,werror=ignore|stop|report|enospc][,id=name]\n"
> + " [,aio=threads|native|io_uring]\n"
> " [,readonly=on|off][,copy-on-read=on|off]\n"
> " [,discard=ignore|unmap][,detect-zeroes=on|off|unmap]\n"
> " [[,bps=b]|[[,bps_rd=r][,bps_wr=w]]]\n"
> @@ -1247,8 +1249,8 @@ SRST
> The default mode is ``cache=writeback``.
>
> ``aio=aio``
> - aio is "threads", or "native" and selects between pthread based
> - disk I/O and native Linux AIO.
> + aio is "threads", "native", or "io_uring" and selects between
> pthread
> + based disk I/O, native Linux AIO, or Linux io_uring API.
>
> ``format=format``
> Specify which disk format will be used rather than detecting the
>
Reviewed-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
--
> 2.26.2
>
>
>
[-- Attachment #2: Type: text/html, Size: 3138 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] docs: add 'io_uring' option to 'aio' param in qemu-options.hx
2020-09-24 15:15 [PATCH] docs: add 'io_uring' option to 'aio' param in qemu-options.hx Stefano Garzarella
2020-09-24 15:57 ` Julia Suvorova
2020-09-24 17:28 ` Pankaj Gupta
@ 2020-09-25 8:38 ` Stefan Hajnoczi
2 siblings, 0 replies; 4+ messages in thread
From: Stefan Hajnoczi @ 2020-09-25 8:38 UTC (permalink / raw)
To: Stefano Garzarella
Cc: Peter Maydell, Philippe Mathieu-Daudé, Julia Suvorova,
qemu-devel, Aarushi Mehta
[-- Attachment #1: Type: text/plain, Size: 459 bytes --]
On Thu, Sep 24, 2020 at 05:15:11PM +0200, Stefano Garzarella wrote:
> When we added io_uring AIO engine, we forgot to update qemu-options.hx,
> so qemu(1) man page and qemu help were outdated.
>
> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
> ---
> qemu-options.hx | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
Thanks, applied to my block-next tree:
https://github.com/stefanha/qemu/commits/block-next
Stefan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-09-25 8:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-24 15:15 [PATCH] docs: add 'io_uring' option to 'aio' param in qemu-options.hx Stefano Garzarella
2020-09-24 15:57 ` Julia Suvorova
2020-09-24 17:28 ` Pankaj Gupta
2020-09-25 8:38 ` Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).