linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] io_submit.2: Fix kernel version numbers for 'aio_rw_flags' flags
@ 2019-08-20 17:04 Matti Moell
  2019-09-13 11:57 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Matti Moell @ 2019-08-20 17:04 UTC (permalink / raw)
  To: mtk.manpages; +Cc: linux-man, linux-aio, Damir Shaikhutdinov

Even though the RFW_* flags were first introduced in Linux 4.6, they
could not be used with aio until 4.13 where the aio_rw_flags field was
added to struct iocb (9830f4be159b "fs: Use RWF_* flags for AIO
operations"). Correct the stated version for each flag.

Fixes: 2f72816f8680 ("io_submit.2: Add kernel version numbers for various 'aio_rw_flags' flags")
Signed-off-by: Matti Möll <Matti.Moell@opensynergy.com>
---
Changelog:
v2:
 - Fix kernel version from 4.12 to 4.13
---
 man2/io_submit.2 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/man2/io_submit.2 b/man2/io_submit.2
index ed98da46c999..1b5fd405a00e 100644
--- a/man2/io_submit.2
+++ b/man2/io_submit.2
@@ -91,7 +91,7 @@ The
 field is ignored.
 The file offset is not changed.
 .TP
-.BR RWF_DSYNC " (since Linux 4.7)"
+.BR RWF_DSYNC " (since Linux 4.13)"
 Write operation complete according to requirement of
 synchronized I/O data integrity.
 See the description of the flag of the same name in
@@ -101,7 +101,7 @@ as well the description of
 in
 .BR open (2).
 .TP
-.BR RWF_HIPRI " (since Linux 4.6)"
+.BR RWF_HIPRI " (since Linux 4.13)"
 High priority request, poll if possible
 .TP
 .BR RWF_NOWAIT " (since Linux 4.14)"
@@ -118,7 +118,7 @@ field of the
 structure (see
 .BR io_getevents (2)).
 .TP
-.BR RWF_SYNC " (since Linux 4.7)"
+.BR RWF_SYNC " (since Linux 4.13)"
 Write operation complete according to requirement of
 synchronized I/O file integrity.
 See the description of the flag of the same name in
-- 
2.21.0



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

* Re: [PATCH v2] io_submit.2: Fix kernel version numbers for 'aio_rw_flags' flags
  2019-08-20 17:04 [PATCH v2] io_submit.2: Fix kernel version numbers for 'aio_rw_flags' flags Matti Moell
@ 2019-09-13 11:57 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2019-09-13 11:57 UTC (permalink / raw)
  To: Matti Moell; +Cc: mtk.manpages, linux-man, linux-aio, Damir Shaikhutdinov

Hello Matti,

On 8/20/19 7:04 PM, Matti Moell wrote:
> Even though the RFW_* flags were first introduced in Linux 4.6, they
> could not be used with aio until 4.13 where the aio_rw_flags field was
> added to struct iocb (9830f4be159b "fs: Use RWF_* flags for AIO
> operations"). Correct the stated version for each flag.
> 
> Fixes: 2f72816f8680 ("io_submit.2: Add kernel version numbers for various 'aio_rw_flags' flags")
> Signed-off-by: Matti Möll <Matti.Moell@opensynergy.com>

Thanks. Patch applied.

Cheers,

Michael


> ---
> Changelog:
> v2:
>  - Fix kernel version from 4.12 to 4.13
> ---
>  man2/io_submit.2 | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/man2/io_submit.2 b/man2/io_submit.2
> index ed98da46c999..1b5fd405a00e 100644
> --- a/man2/io_submit.2
> +++ b/man2/io_submit.2
> @@ -91,7 +91,7 @@ The
>  field is ignored.
>  The file offset is not changed.
>  .TP
> -.BR RWF_DSYNC " (since Linux 4.7)"
> +.BR RWF_DSYNC " (since Linux 4.13)"
>  Write operation complete according to requirement of
>  synchronized I/O data integrity.
>  See the description of the flag of the same name in
> @@ -101,7 +101,7 @@ as well the description of
>  in
>  .BR open (2).
>  .TP
> -.BR RWF_HIPRI " (since Linux 4.6)"
> +.BR RWF_HIPRI " (since Linux 4.13)"
>  High priority request, poll if possible
>  .TP
>  .BR RWF_NOWAIT " (since Linux 4.14)"
> @@ -118,7 +118,7 @@ field of the
>  structure (see
>  .BR io_getevents (2)).
>  .TP
> -.BR RWF_SYNC " (since Linux 4.7)"
> +.BR RWF_SYNC " (since Linux 4.13)"
>  Write operation complete according to requirement of
>  synchronized I/O file integrity.
>  See the description of the flag of the same name in
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

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

end of thread, other threads:[~2019-09-13 11:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-20 17:04 [PATCH v2] io_submit.2: Fix kernel version numbers for 'aio_rw_flags' flags Matti Moell
2019-09-13 11:57 ` Michael Kerrisk (man-pages)

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).