Page MenuHomeFreeBSD

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

Authored by glebius on Mon, Feb 10, 10:22 PM.

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