Seems like it'd be a shame to have the polled/async improvements and not include automatic buffer selection. I guess that'll be the Sunday project.
Precisely. Wondering if FDs for things like chained open();stat();close(); could be handled similarly. Instead of having to write BPF, which explodes the necessary toolchain.
-
-
When IOSQE_TAGED_FILE is set, sqe.fd doesn't refer to an fd, but is just an arbitrary userland specified identifier. OPENAT etcwould associate identifier with fd. READV/WRITEV/CLOSE would look up identifier to get real fd. And EBADF if not set.
-
That should work, and eliminate the need to carry results from one SQE to the next.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.