Page MenuHomeFreeBSD

Simplify AIO initialization now that it is standard.
ClosedPublic

Authored by jhb on Mar 8 2016, 11:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 23, 10:36 AM
Unknown Object (File)
Sep 14 2025, 2:29 PM
Unknown Object (File)
Aug 20 2025, 6:00 PM
Unknown Object (File)
Jul 27 2025, 10:27 AM
Unknown Object (File)
Jul 25 2025, 6:31 PM
Unknown Object (File)
Jul 25 2025, 12:22 AM
Unknown Object (File)
Jul 20 2025, 5:30 PM
Unknown Object (File)
Jul 14 2025, 4:40 AM
Subscribers

Details

Summary

Simplify AIO initialization now that it is standard.

  • Mark AIO system calls as STD and remove the helpers to dynamically register them.
  • Use COMPAT6 for the old system calls with the older sigevent instead of an 'o' prefix.
  • Simplify the POSIX configuration to note that AIO is always available.
  • Handle AIO in the default VOP_PATHCONF instead of special casing it in the pathconf() system call. fpathconf() is still hackish.
  • Remove freebsd32_aio_cancel() as it just called the native one directly.

I will remove the regen bits before comitting.

Test Plan
  • Ran aio regression tests on amd64 for both amd64 and i386 binaries.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb retitled this revision from to Simplify AIO initialization now that it is standard..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added a reviewer: kib.
kib edited edge metadata.
This revision is now accepted and ready to land.Mar 9 2016, 12:39 PM
This revision was automatically updated to reflect the committed changes.