You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by Walt Karas <wk...@yahooinc.com.INVALID> on 2023/04/04 01:38:36 UTC

Re: [E] Feedback on removing AIO_MODE_NATIVE from iocore/aio

I believe there's a concern about io_uring in that using it means ATS can
now crash the kernel, which is harder to debug than a process crash.

On Mon, Apr 3, 2023 at 12:38 PM Chris McFarlen <ch...@mcfarlen.us> wrote:

> I would like to remove this disk IO mode from ATS. If nobody is using it,
> then I'd like to delete it for the 10.x release. If that isn't possible, I
> think it should be deprecated in favor of io_uring and removed in a future
> version.
>
> Is anyone using this IO mode currently? If so, are there any arguments
> against deprecation in favor of io_uring for linux?
>
> Thanks,
> Chris

Re: [E] Feedback on removing AIO_MODE_NATIVE from iocore/aio

Posted by Chris McFarlen <ch...@mcfarlen.us>.
> I believe there's a concern about io_uring in that using it means ATS can
> now crash the kernel, which is harder to debug than a process crash.

Agreed. io_uring is still in development.  That's why I'm proposing this runtime selection so we can have a more managed transition to it for those that want to.

> 
> On Mon, Apr 3, 2023 at 12:38 PM Chris McFarlen chris@mcfarlen.us wrote:
> 
> > I would like to remove this disk IO mode from ATS. If nobody is using it,
> > then I'd like to delete it for the 10.x release. If that isn't possible, I
> > think it should be deprecated in favor of io_uring and removed in a future
> > version.
> > 
> > Is anyone using this IO mode currently? If so, are there any arguments
> > against deprecation in favor of io_uring for linux?
> > 
> > Thanks,
> > Chris