HomeFreeBSD

lio_listio(2): Allow LIO_READV and LIO_WRITEV.

Description

lio_listio(2): Allow LIO_READV and LIO_WRITEV.

Allow multiple vector IOs to be started with one system call.
aio_readv() and aio_writev() already used these opcodes under the
covers. This commit makes them available to user space.

Being non-standard extensions, they're only visible if __BSD_VISIBLE is
defined, like the functions.

Reviewed by: asomers, kib
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D31627

Details

Provenance
tmunroAuthored on Aug 22 2021, 9:48 AM
Reviewer
asomers
Differential Revision
D31627: Allow LIO_READV and LIO_WRITEV in lio_listio().
Parents
rG98399ab06f6c: netmap: import changes from upstream
Branches
Unknown
Tags
Unknown