Re: [PATCH v2] vhost: cleanup resubmit info before inflight setup

2024-05-21 Thread Haoqian He
> 2024年4月26日 19:09,Haoqian He 写道: > > This patch fixes a potential VM hang bug when the VM reboots after > vhost live recovery due to missing cleanup virtqueue resubmit info. > > Specifically, if inflight IO that should be resubmitted during > the latest vhost reco

[PATCH v2] vhost: cleanup resubmit info before inflight setup

2024-04-26 Thread Haoqian He
resubmitted after the VM restart. The solution is to clean up virtqueue resubmit info when function set_inflight_fd before function set_vring_kick. Fixes: ad0a4ae491fe ("vhost: checkout resubmit inflight information") Cc: sta...@dpdk.org Signed-off-by: Haoqian He --- v2: rewrite the comm

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 th

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 > reconnec

[PATCH] vhost: cleanup vq resubmit info when set_inflight_fd

2024-03-21 Thread Haoqian He
still use the old resubmit info set when reconnection. Signed-off-by: Haoqian He --- lib/vhost/vhost_user.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/vhost/vhost_user.c b/lib/vhost/vhost_user.c index 414192500e..7c54afc5fb 100644 --- a/lib/vhost/vhost_user.c +++ b/lib/vhost