Page MenuHomeFreeBSD

aio: aio needs wakeup on the send buffer, hack around that
Needs ReviewPublic

Authored by glebius on Feb 10 2025, 10:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 11, 7:08 PM
Unknown Object (File)
Mon, Mar 10, 7:54 AM
Unknown Object (File)
Thu, Mar 6, 5:08 PM
Unknown Object (File)
Feb 15 2025, 1:10 AM
Unknown Object (File)
Feb 14 2025, 8:47 AM
Unknown Object (File)
Feb 13 2025, 10:04 PM
Unknown Object (File)
Feb 13 2025, 8:35 PM
Unknown Object (File)
Feb 12 2025, 12:19 AM
Subscribers

Details

Reviewers
markj
Group Reviewers
network
Summary

The problem with socket aio(4) is that it uses socket buffer locks for
queueing and piggybacking on this locking calls soreadable() and
sowriteable() directly. Ideally it should use pr_sopoll() method.

At this point solve the problem on the side of unix(4), but ideally
it should be socket aio(4) problem (not a first class citizen) than
problem of unix(4), definitely a primary facility.

This shall be squashed into the main new unix(4) commit.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 62347
Build 59231: arc lint + arc unit