All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH liburing 0/2] quick man fixes
@ 2021-08-28 18:30 Pavel Begunkov
  2021-08-28 18:30 ` [PATCH liburing 1/2] man: fix io_uring_sqe alignment Pavel Begunkov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Pavel Begunkov @ 2021-08-28 18:30 UTC (permalink / raw)
  To: Jens Axboe, io-uring

Clarify details on registration quiesce.

Pavel Begunkov (2):
  man: fix io_uring_sqe alignment
  man: update notes on register quiesce

 man/io_uring_enter.2    | 10 +++++-----
 man/io_uring_register.2 | 12 ++++++------
 2 files changed, 11 insertions(+), 11 deletions(-)

-- 
2.33.0


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

* [PATCH liburing 1/2] man: fix io_uring_sqe alignment
  2021-08-28 18:30 [PATCH liburing 0/2] quick man fixes Pavel Begunkov
@ 2021-08-28 18:30 ` Pavel Begunkov
  2021-08-28 18:30 ` [PATCH liburing 2/2] man: update notes on register quiesce Pavel Begunkov
  2021-08-28 19:15 ` [PATCH liburing 0/2] quick man fixes Jens Axboe
  2 siblings, 0 replies; 4+ messages in thread
From: Pavel Begunkov @ 2021-08-28 18:30 UTC (permalink / raw)
  To: Jens Axboe, io-uring

Tabs make man to go crazy, replace them with spaces where it haven't
been done yet.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
---
 man/io_uring_enter.2 | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/man/io_uring_enter.2 b/man/io_uring_enter.2
index 00f0778..fc81099 100644
--- a/man/io_uring_enter.2
+++ b/man/io_uring_enter.2
@@ -162,18 +162,18 @@ struct io_uring_sqe {
     };
     __u64    user_data;     /* data to be passed back at completion time */
     union {
-	struct {
-	    /* index into fixed buffers, if used */
+    struct {
+        /* index into fixed buffers, if used */
             union {
                 /* index into fixed buffers, if used */
                 __u16    buf_index;
                 /* for grouped buffer selection */
                 __u16    buf_group;
             }
-	    /* personality to use, if used */
-	    __u16    personality;
+        /* personality to use, if used */
+        __u16    personality;
             __s32    splice_fd_in;
-	};
+    };
         __u64    __pad2[3];
     };
 };
-- 
2.33.0


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

* [PATCH liburing 2/2] man: update notes on register quiesce
  2021-08-28 18:30 [PATCH liburing 0/2] quick man fixes Pavel Begunkov
  2021-08-28 18:30 ` [PATCH liburing 1/2] man: fix io_uring_sqe alignment Pavel Begunkov
@ 2021-08-28 18:30 ` Pavel Begunkov
  2021-08-28 19:15 ` [PATCH liburing 0/2] quick man fixes Jens Axboe
  2 siblings, 0 replies; 4+ messages in thread
From: Pavel Begunkov @ 2021-08-28 18:30 UTC (permalink / raw)
  To: Jens Axboe, io-uring

We don't quiesce rsrc registrations since 5.13, reflect it in the man.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
---
 man/io_uring_register.2 | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/man/io_uring_register.2 b/man/io_uring_register.2
index 5326a87..a8479fd 100644
--- a/man/io_uring_register.2
+++ b/man/io_uring_register.2
@@ -88,9 +88,9 @@ then issuing a new call to
 .BR io_uring_register ()
 with the new buffers.
 
-Note that registering buffers will wait for the ring to idle. If the application
-currently has requests in-flight, the registration will wait for those to
-finish before proceeding.
+Note that before 5.13 registering buffers would wait for the ring to idle.
+If the application currently has requests in-flight, the registration will
+wait for those to finish before proceeding.
 
 An application need not unregister buffers explicitly before shutting
 down the io_uring instance. Available since 5.1.
@@ -128,9 +128,9 @@ See
 .B IORING_REGISTER_FILES_UPDATE
 for how to update files in place.
 
-Note that registering files will wait for the ring to idle. If the application
-currently has requests in-flight, the registration will wait for those to
-finish before proceeding. See
+Note that before 5.13 registering files would wait for the ring to idle.
+If the application currently has requests in-flight, the registration will
+wait for those to finish before proceeding. See
 .B IORING_REGISTER_FILES_UPDATE
 for how to update an existing set without that limitation.
 
-- 
2.33.0


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

* Re: [PATCH liburing 0/2] quick man fixes
  2021-08-28 18:30 [PATCH liburing 0/2] quick man fixes Pavel Begunkov
  2021-08-28 18:30 ` [PATCH liburing 1/2] man: fix io_uring_sqe alignment Pavel Begunkov
  2021-08-28 18:30 ` [PATCH liburing 2/2] man: update notes on register quiesce Pavel Begunkov
@ 2021-08-28 19:15 ` Jens Axboe
  2 siblings, 0 replies; 4+ messages in thread
From: Jens Axboe @ 2021-08-28 19:15 UTC (permalink / raw)
  To: Pavel Begunkov, io-uring

On 8/28/21 12:30 PM, Pavel Begunkov wrote:
> Clarify details on registration quiesce.
> 
> Pavel Begunkov (2):
>   man: fix io_uring_sqe alignment
>   man: update notes on register quiesce
> 
>  man/io_uring_enter.2    | 10 +++++-----
>  man/io_uring_register.2 | 12 ++++++------
>  2 files changed, 11 insertions(+), 11 deletions(-)

Applied, thanks.

-- 
Jens Axboe


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

end of thread, other threads:[~2021-08-28 19:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-28 18:30 [PATCH liburing 0/2] quick man fixes Pavel Begunkov
2021-08-28 18:30 ` [PATCH liburing 1/2] man: fix io_uring_sqe alignment Pavel Begunkov
2021-08-28 18:30 ` [PATCH liburing 2/2] man: update notes on register quiesce Pavel Begunkov
2021-08-28 19:15 ` [PATCH liburing 0/2] quick man fixes 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.