]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man2/io_submit.2
move_pages.2: Minor tweaks to Yang Shi's patch
[thirdparty/man-pages.git] / man2 / io_submit.2
index d5253d1cf0b45dd7da48177e7e3efe3d800600c1..3ab73260f00d2f78ed01413a94d2a8a4ab779b02 100644 (file)
@@ -5,7 +5,7 @@
 .\" This file is distributed according to the GNU General Public License.
 .\" %%%LICENSE_END
 .\"
-.TH IO_SUBMIT 2 2018-04-30 "Linux" "Linux Programmer's Manual"
+.TH IO_SUBMIT 2 2020-04-11 "Linux" "Linux Programmer's Manual"
 .SH NAME
 io_submit \- submit asynchronous I/O blocks for processing
 .SH SYNOPSIS
@@ -63,12 +63,13 @@ This data is copied into the
 .I data
 field of the
 .I io_event
-structure upon I/O completion (see io_getevents(2)).
+structure upon I/O completion (see
+.BR io_getevents (2)).
 .TP
 .I aio_key
 This is an internal field used by the kernel.
 Do not modify this field after an
-.BR io_submit (2)
+.BR io_submit ()
 call.
 .TP
 .I aio_rw_flags
@@ -90,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
@@ -100,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)"
@@ -117,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
@@ -143,6 +144,7 @@ enum {
     IOCB_CMD_PWRITE = 1,
     IOCB_CMD_FSYNC = 2,
     IOCB_CMD_FDSYNC = 3,
+    IOCB_CMD_POLL = 5,
     IOCB_CMD_NOOP = 6,
     IOCB_CMD_PREADV = 7,
     IOCB_CMD_PWRITEV = 8,