Page MenuHomeFreeBSD

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

Authored by glebius on Feb 10 2025, 10:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 5, 3:42 AM
Unknown Object (File)
Thu, Oct 2, 3:05 AM
Unknown Object (File)
Sat, Sep 27, 1:35 AM
Unknown Object (File)
Mon, Sep 22, 9:20 PM
Unknown Object (File)
Sat, Sep 20, 4:18 AM
Unknown Object (File)
Mon, Sep 15, 12:17 PM
Unknown Object (File)
Aug 28 2025, 4:58 AM
Unknown Object (File)
Aug 26 2025, 7:06 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