From abafdc6292717f31cc00f641b59ae52ce4c9e065 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Thu, 8 Jul 2021 18:13:04 -0700 Subject: [PATCH] add TODO --- net/uring/io_uring_linux.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/uring/io_uring_linux.go b/net/uring/io_uring_linux.go index b3324bb0a..e591b0ebf 100644 --- a/net/uring/io_uring_linux.go +++ b/net/uring/io_uring_linux.go @@ -58,6 +58,8 @@ func (r *writeRing) getReq() (req *C.goreq, err error) { // prefetch attempts to fetch a req for use by future writes. // It does not block. +// TODO: does this actually buy us anything? +// TODO: return errors encountered here, rather than delaying them until later? func (r *writeRing) prefetch() { idx, ok := peekCompletion(r.ring) if ok {