Date: Tue, 14 Sep 2021 14:53:11 -0600 From: Alan Somers <asomers@freebsd.org> To: John Baldwin <jhb@freebsd.org> Cc: src-committers <src-committers@freebsd.org>, "<dev-commits-src-all@freebsd.org>" <dev-commits-src-all@freebsd.org>, dev-commits-src-main@freebsd.org Subject: Re: git: 1ecbc1d8e9d3 - main - cxgbe tom: Don't queue AIO requests on listen sockets. Message-ID: <CAOtMX2iGyPvZvhLFhp9tf2aX=NUnoPLezE5RELxhqJqKGRf2Jw@mail.gmail.com> In-Reply-To: <202109142046.18EKkfEN043871@gitrepo.freebsd.org> References: <202109142046.18EKkfEN043871@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 14, 2021 at 2:46 PM John Baldwin <jhb@freebsd.org> wrote: > The branch main has been updated by jhb: > > URL: > https://cgit.FreeBSD.org/src/commit/?id=1ecbc1d8e9d3fbcd8e68fc68f0a32944a12ddb1e > > commit 1ecbc1d8e9d3fbcd8e68fc68f0a32944a12ddb1e > Author: John Baldwin <jhb@FreeBSD.org> > AuthorDate: 2021-09-14 20:46:14 +0000 > Commit: John Baldwin <jhb@FreeBSD.org> > CommitDate: 2021-09-14 20:46:14 +0000 > > cxgbe tom: Don't queue AIO requests on listen sockets. > > This is similar to the fixes in 141fe2dceeae. One difference is that > TOE sockets do not change states (listen vs non-listen) once created, > so no lock is needed for SOLISTENING(). > > Sponsored by: Chelsio Communications > I've always wondered: what's the point to using AIO with sockets? Can't everything socket-related be done better with non-blocking read/write and kqueue?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2iGyPvZvhLFhp9tf2aX=NUnoPLezE5RELxhqJqKGRf2Jw>