From: Stefan Metzmacher <[email protected]>
To: Jens Axboe <[email protected]>
Cc: io-uring <[email protected]>
Subject: Questions regarding IORING_OP_SENDMSG
Date: Fri, 17 Jan 2020 00:13:10 +0100 [thread overview]
Message-ID: <[email protected]> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 792 bytes --]
Hi Jens,
In the "io_uring: add support for IORING_OP_IOCTL" thread I wrote this:
> I could use also use a generic way for an async fd-based syscall.
> I thought about using sendmsg() with special CMSG_ elements, but
> currently it's not possible with IORING_OP_SENDMSG to do an async
> io_kiocb based completion, using msg_iocb.
I just noticed that __sys_sendmsg_sock doesn't allow
msg->msg_control || msg->msg_controllen.
Why is that the case?
I could use that in several places for my smbdirect driver.
Optionally turning on msg_iocb usage would also be great,
I'd use that in combination with MSG_OOB and CMSG_
and this OOB message is not ordered like the typical
sendmsg stream socket flow.
Do you think we can add support for this usecase?
Thanks!
metze
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next reply other threads:[~2020-01-16 23:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-16 23:13 Stefan Metzmacher [this message]
2020-01-17 0:20 ` Questions regarding IORING_OP_SENDMSG Jens Axboe
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] \
[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