Re: [patch] io_submit.2: fix the description of aio_data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jeff,

On 1/18/19 9:32 AM, Jeff Moyer wrote:
aio_data is not a kernel-internal field.

Signed-off-by: Jeff Moyer <jmoyer@xxxxxxxxxx>


Thanks. Patch applied.

Cheers,

Michael

diff --git a/man2/io_submit.2 b/man2/io_submit.2
index c15db3f41..d5253d1cf 100644
--- a/man2/io_submit.2
+++ b/man2/io_submit.2
@@ -59,10 +59,11 @@ struct iocb {
  The fields of this structure are as follows:
  .TP
  .I aio_data
-This is an internal field used by the kernel.
-Do not modify this field after an
-.BR io_submit (2)
-call.
+This data is copied into the
+.I data
+field of the
+.I io_event
+structure upon I/O completion (see io_getevents(2)).
  .TP
  .I aio_key
  This is an internal field used by the kernel.




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux