Re: [PATCH] vhost: cleanup vq resubmit info when set_inflight_fd

2024-06-12 Thread Maxime Coquelin
On 3/21/24 10:57, Haoqian He wrote: We should cleanup vq resubmit info when set_inflight_fd before set_vring_kick which will check if there is any inflight io waiting for resubmission. Otherwise, when the vm is rebooting immediately after reconnecting to the vhost target (inflight io has not

Re: [PATCH] vhost: cleanup vq resubmit info when set_inflight_fd

2024-04-25 Thread Maxime Coquelin
Hi Haoqian, We try to avoid passing functions or variable names in the commit title. Maybe something like this would work: "vhost: cleanup resubmit info before inflight setup" On 3/21/24 10:57, Haoqian He wrote: We should cleanup vq resubmit info when set_inflight_fd virtqueue* before set_v

Re: [PATCH] vhost: cleanup vq resubmit info when set_inflight_fd

2024-04-12 Thread Haoqian He
> 2024年3月21日 17:57,Haoqian He 写道: > > We should cleanup vq resubmit info when set_inflight_fd > before set_vring_kick which will check if there is any > inflight io waiting for resubmission. > > Otherwise, when the vm is rebooting immediately after > reconnecting to the vhost target (inflight

Re: [PATCH] vhost: cleanup vq resubmit info when set_inflight_fd

2024-04-02 Thread Haoqian He
> 2024年3月21日 17:57,Haoqian He 写道: > > We should cleanup vq resubmit info when set_inflight_fd > before set_vring_kick which will check if there is any > inflight io waiting for resubmission. > > Otherwise, when the vm is rebooting immediately after > reconnecting to the vhost target (inflight

[PATCH] vhost: cleanup vq resubmit info when set_inflight_fd

2024-03-21 Thread Haoqian He
We should cleanup vq resubmit info when set_inflight_fd before set_vring_kick which will check if there is any inflight io waiting for resubmission. Otherwise, when the vm is rebooting immediately after reconnecting to the vhost target (inflight io has not been resubmitted yet), the vhost backend