From: Mark Papadakis <[email protected]>
To: [email protected]
Subject: Feature: zero-copy splice API/opcode
Date: Thu, 9 Jan 2020 16:58:12 +0200 [thread overview]
Message-ID: <[email protected]> (raw)
Greetings,
I ‘ve been trying to replicate the benefits provided by sendfile() using e.g O_DIRECT access, together with IOSQE_IO_LINK in SQE flags and MSG_ZEROCOPY, but it doesn’t appear to work. Other ideas didn’t work either.
I would really appreciate a sendfile like SQE opcode, but maybe some sort of generic DMA/zero-copy based opcode based on splice semantics could be implemented, so that e.g a vmsplice() like alternative could also work.
(That would be the last remaining bit of functionality missing from io_uring, now that Jens has implemented support for IOSQE_ASYNC, IORING_REGISTER_EVENTFD_ASYNC and for managing epoll FDs, for enabling support for io_uring on https://github.com/phaistos-networks/TANK ).
Thank you,
@markpapadakis
next reply other threads:[~2020-01-09 14:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-09 14:58 Mark Papadakis [this message]
2020-01-12 21:21 ` Feature: zero-copy splice API/opcode Pavel Begunkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox