From: Stephan Mueller Subject: Re: AIO operation and CMSG Date: Thu, 18 Jan 2018 08:32:16 +0100 Message-ID: <3515099.j1gFXZBptz@tauon.chronox.de> References: <6214924.yszrlpR4T4@positron.chronox.de> <20180117192213.GA21865@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-aio@kvack.org, netdev@vger.kernel.org To: Christoph Hellwig Return-path: In-Reply-To: <20180117192213.GA21865@infradead.org> Sender: owner-linux-aio@kvack.org List-Id: netdev.vger.kernel.org Am Mittwoch, 17. Januar 2018, 20:22:13 CET schrieb Christoph Hellwig: Hi Christoph, > On Sun, Jan 14, 2018 at 09:01:00AM +0100, Stephan M=FCller wrote: > > The syscall io_submit sends data to the kernel and invokes the respecti= ve > > handler function in the kernel such as the recvmsg handler. What I am > > wondering is whether there is a way to send CMSG data along with the > > io_submit syscall? If not, is CMSG handling with the AIO syscalls > > possible at all? > Not as-is, but it could be easily added by repurposing unused fields > in the iocb. The big question is if it should be done to the existing > IOCB_CMD_PREADV/IOCB_CMD_PWRITEV types, or if new SENDMSG/RECVMSG ones > should be added instead. Thank you for the clarification. I think for the moment we have found anoth= er=20 solution that we are discussing at linux-crypto. Therefore, I would current= ly=20 not see the need for an additional support of CMSG in AIO. Ciao Stephan -- To unsubscribe, send a message with 'unsubscribe linux-aio' in the body to majordomo@kvack.org. For more info on Linux AIO, see: http://www.kvack.org/aio/ Don't email: aart@kvack.org