Re: [PATCHSET v2 0/3] Add support for multishot reads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Jens Axboe <axboe@xxxxxxxxx> writes:

> Hi,
> We support multishot for other request types, generally in the shape of
> a flag for the request. Doing a flag based approach with reads isn't
> straightforward, as the read/write flags are in the RWF_ space. Instead,
> add a separate opcode for this, IORING_OP_READ_MULTISHOT.
> This can only be used provided buffers, like other multishot request
> types that read/receive data.
> It can also only be used for pollable file types, like a tun device or
> pipes, for example. File types that are always readable (or seekable),
> like regular files, cannot be used with multishot reads.
> This is based on the io_uring-futex branch (which, in turn, is based on
> the io_uring-waitid branch). No dependencies as such between them,
> except the opcode numbering.
> Can also be found here:
> and there's a liburing branch with some basic support and some test
> cases here:

Hey Jens,

For the entire series, feel free to take:

Reviewed-by: Gabriel Krisman Bertazi <krisman@xxxxxxx>

Gabriel Krisman Bertazi

[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux