HomeFreeBSD

aio: micro-optimize the lio_opcode assignments

Description

aio: micro-optimize the lio_opcode assignments

This allows slightly more efficient opcode testing in-kernel. It is
transparent to userland, except to applications that sneakily submit
aio fsync or aio mlock operations via lio_listio, which has never been
documented, requires the use of deliberately undefined constants
(LIO_SYNC and LIO_MLOCK), and is arguably a bug.

Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D27942

Details

Provenance
asomersAuthored on Jan 3 2021, 4:25 AM
Reviewer
jhb
Differential Revision
D27942: aio: micro-optimize the lio_opcode assignments
Parents
rGb84d0aaa4e64: ifconfig: add vlanproto "qiniq" as an alias for "802.1ad"
Branches
Unknown
Tags
Unknown