Re: [PATCH] vhost: fix FD entries cleanup

2025-02-07 Thread Maxime Coquelin
On 2/6/25 9:41 AM, Maxime Coquelin wrote: With the recent rework of the FD manager to use epoll, an error message is emitted with Vhost-user at FD entry removal: ERR|VHOST_FDMAN: could not remove 102 fd from 101 epfd: No such file or directory It occurs because the read callback closes the

Re: [PATCH] vhost: fix FD entries cleanup

2025-02-06 Thread Chenbo Xia
> On Feb 6, 2025, at 16:41, Maxime Coquelin wrote: > > External email: Use caution opening links or attachments > > > With the recent rework of the FD manager to use epoll, > an error message is emitted with Vhost-user at FD entry > removal: > > ERR|VHOST_FDMAN: could not remove 102 fd from

Re: [PATCH] vhost: fix FD entries cleanup

2025-02-06 Thread David Marchand
On Thu, Feb 6, 2025 at 9:42 AM Maxime Coquelin wrote: > > With the recent rework of the FD manager to use epoll, > an error message is emitted with Vhost-user at FD entry > removal: > > ERR|VHOST_FDMAN: could not remove 102 fd from 101 epfd: No such file or > directory > > It occurs because the r

[PATCH] vhost: fix FD entries cleanup

2025-02-06 Thread Maxime Coquelin
With the recent rework of the FD manager to use epoll, an error message is emitted with Vhost-user at FD entry removal: ERR|VHOST_FDMAN: could not remove 102 fd from 101 epfd: No such file or directory It occurs because the read callback closes the file descriptor before it is removed from the F