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]>

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to