aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/aio.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-01-24 14:39:12 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-01-24 16:49:38 +0100
commitde746e82320ebed3f7b02820728fa6eb035bc313 (patch)
treedc190197e7d1cf0be3f5f18b98181db502c6323f /sys/linux/aio.txt
parent44e061b86c622251bca6adb5358800a3827930b3 (diff)
sys/linux: update TODO comments
Change TODO comments that refer to missing description language features to NEED comments as that it's easier to grep for them. Remove some outdated comments. Fix 2 easy fixable TODOs.
Diffstat (limited to 'sys/linux/aio.txt')
-rw-r--r--sys/linux/aio.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/linux/aio.txt b/sys/linux/aio.txt
index cc513b8dd..950a1e47e 100644
--- a/sys/linux/aio.txt
+++ b/sys/linux/aio.txt
@@ -9,8 +9,7 @@ io_setup(n int32, ctx ptr[out, io_ctx])
io_destroy(ctx io_ctx)
io_getevents(ctx io_ctx, min_nr intptr, nr len[events], events ptr[out, array[io_event]], timeout ptr[in, timespec, opt])
io_pgetevents(ctx io_ctx, min_nr intptr, nr len[events], events ptr[out, array[io_event]], timeout ptr[in, timespec, opt], usig ptr[in, sigset_size, opt])
-# TODO: kernel identifies requets by address, so pointers passed to io_submit
-# need to be forwarded to io_cancel somehow.
+# NEED: kernel identifies requets by address, so pointers passed to io_submit need to be forwarded to io_cancel somehow.
io_submit(ctx io_ctx, nr len[iocbpp], iocbpp ptr[in, array[ptr[in, iocb]]])
io_cancel(ctx io_ctx, iocb ptr[in, iocb], res ptr[out, io_event])