On 6/1/26 11:36 AM, Eelco Chaudron wrote: > > > On 29 May 2026, at 19:48, Ilya Maximets wrote: > >> The man page says: >> >> If O_APPEND is set for iocb->aio_fildes, write operations append to >> the file in the same order as the calls were made. >> >> https://man.freebsd.org/cgi/man.cgi?query=aio_write >> >> But in practice the kernel threads seem to pick up operations from the >> queue regardless of the flag and cause operation reordering. This >> leads to logs reordering, or even interleaving if a single log requires >> more than one aio_write. And that leads to test failures in FreeBSD >> CI for tests that rely on specific log output. >> >> It seems a little excessive to just disable POSIX AIO support on >> FreeBSD entirely, as the reordering is typically not too severe under >> normal circumstances, while logging synchronously would cause delays >> in processing. So, let's just add a knob to disable it and use this >> knob in our CI. >> >> Not mentioning this knob in the NEWS file, as we don't really want >> people to use it outside of the CI environment at this time. >> >> Signed-off-by: Ilya Maximets <[email protected]> > > Thanks Ilya for following this up! The change looks good to me. > > Acked-by: Eelco Chaudron <[email protected]> >
Thanks! Applied to all branches down to 3.3. This should significantly reduce the amount of false-positive CI failures. FWIW, I opened a bug for the FreeBSD kernel, but didn't get any replies yet: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295707 Best regards, Ilya Maximets. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
