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

(cherry picked from commit f30a1ae8d5290a52e898279bafc38556bf16bed8)

Details

Provenance
tmunroAuthored on Aug 22 2021, 9:48 AM
jhbCommitted on Sep 6 2023, 9:56 PM
Reviewer
asomers
Differential Revision
D31627: Allow LIO_READV and LIO_WRITEV in lio_listio().
Parents
rG12e299e2ab7d: ccr: Retire ccr_softc member in struct adapter.
Branches
Unknown
Tags
Unknown