Re: aio_read2() and aio_write2()

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Sat, 13 Jan 2024 23:28:06 UTC
On Sat, Jan 13, 2024 at 08:03:30PM -0300, Vinícius dos Santos Oliveira wrote:
> Em sáb., 13 de jan. de 2024 às 16:51, Konstantin Belousov
> <kostikbel@gmail.com> escreveu:
> > Please see https://reviews.freebsd.org/D43448; not tested.
> > Effectively I added the new ops to lio_listio(2) instead.
> 
> It looks right to me. However the flag is confusing. I'd suggest using
> LIO_FNOFFSET instead as it means the opposite of FOF_OFFSET.
Well, LIO_FOFFSET means using the file offset, so the name is logical.
FOF_OFFSET is internal kernel flag, not exposed to userspace.