Date: Sun, 14 Jan 2024 01:28:06 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: =?utf-8?B?Vmluw61jaXVz?= dos Santos Oliveira <vini.ipsmaker@gmail.com> Cc: freebsd-threads@freebsd.org Subject: Re: aio_read2() and aio_write2() Message-ID: <ZaMchtF4FAUztM4R@kib.kiev.ua> In-Reply-To: <CAK9RveLELz7ApdUAvr6Qo7p6tA28wvq0vBogaAeGCgnD7c4Rjg@mail.gmail.com> References: <CAK9RveK=sUc=xSExehvNwH92uTexjhp0=L63sbw-sfkRFdV4Dg@mail.gmail.com> <ZaF4tWnqhKrNtNBI@kib.kiev.ua> <CAK9RveJfZkESHpQjhO1%2Byn%2BUkvw0Vr5u8fyZBgSh3a8RWqv=bw@mail.gmail.com> <ZaLplyztsogCXSEZ@kib.kiev.ua> <CAK9RveLELz7ApdUAvr6Qo7p6tA28wvq0vBogaAeGCgnD7c4Rjg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZaMchtF4FAUztM4R>