Re: [RFC 0/3] Vhost: fix FD entries cleanup

2025-02-05 Thread Maxime Coquelin
Hi Chenbo & David, On 2/5/25 8:27 AM, Chenbo Xia wrote: Hi David, On Feb 4, 2025, at 21:18, David Marchand wrote: External email: Use caution opening links or attachments Hello vhost maintainers, On Tue, Dec 24, 2024 at 4:50 PM Maxime Coquelin wrote: The vhost FD manager provides a way

Re: [RFC 0/3] Vhost: fix FD entries cleanup

2025-02-04 Thread Chenbo Xia
Hi David, > On Feb 4, 2025, at 21:18, David Marchand wrote: > > External email: Use caution opening links or attachments > > > Hello vhost maintainers, > > On Tue, Dec 24, 2024 at 4:50 PM Maxime Coquelin > wrote: >> >> The vhost FD manager provides a way for the read/write >> callbacks to r

Re: [RFC 0/3] Vhost: fix FD entries cleanup

2025-02-04 Thread David Marchand
Hello vhost maintainers, On Tue, Dec 24, 2024 at 4:50 PM Maxime Coquelin wrote: > > The vhost FD manager provides a way for the read/write > callbacks to request removal of their associated FD from > the epoll FD set. Problem is that it is missing a cleanup > callback, so the read/write callback

[RFC 0/3] Vhost: fix FD entries cleanup

2024-12-24 Thread Maxime Coquelin
The vhost FD manager provides a way for the read/write callbacks to request removal of their associated FD from the epoll FD set. Problem is that it is missing a cleanup callback, so the read/write callback requesting the removal have to perform cleanups before the FD is removed from the FD set. It