Thread (16 messages) 16 messages, 4 authors, 2020-02-27

Re: [PATCH 1/4] io_uring: add IORING_OP_READ{WRITE}V_PI cmd

From: Christoph Hellwig <hch@infradead.org>
Date: 2020-02-26 16:53:11
Also in: io-uring, linux-fsdevel

On Wed, Feb 26, 2020 at 08:58:46AM -0700, Jens Axboe wrote:
Yeah, should probably be a RWF_ flag instead, and a 64-bit SQE field
for the PI data. The 'last iovec is PI' is kind of icky.
Abusing an iovec (although I though of the first once when looking
into it) looks really horrible, but has two huge advantages:

 - it doesn't require passing another argument all the way down
   the I/O stack
 - it works with all the vectored interfaces that take a flag
   argument, so not just io_uring, but also preadv2/pwritev2 and aio.
   And while I don't care too much about the last I think preadv2
   and pwritev2 are valuable to support.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help