Re: aio_read2() and aio_write2()

Konstantin Belousov <[email protected]> Sun, 14 Jan 2024 01:28:06 +0200
Newsgroups gmane.os.freebsd.devel.threading
Message-ID <[email protected]>
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
> <[email protected]> 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.