Re: vhost-user-blk reconnect issue

2024-04-10 Thread Yajun Wu
On 4/2/2024 4:44 PM, Li Feng wrote: *External email: Use caution opening links or attachments* Hi, I tested it today and there is indeed a problem in this scenario. It seems that the first version of the patch is the best and can handle all scenarios. With this patch, the previously merged

Re: vhost-user-blk reconnect issue

2024-04-02 Thread Li Feng
Hi, I tested it today and there is indeed a problem in this scenario. It seems that the first version of the patch is the best and can handle all scenarios. With this patch, the previously merged patches are no longer useful. I will revert this patch and submit a new fix. Do you have any comme

Re: vhost-user-blk reconnect issue

2024-04-01 Thread Yajun Wu
On 4/1/2024 4:34 PM, Li Feng wrote: *External email: Use caution opening links or attachments* Hi yajun, I have submitted a patch to fix this problem a few months ago, but in the end this solution was not accepted and other solutions were adopted to fix it. [PATCH 1/2] vhost-user: fix lost

Re: vhost-user-blk reconnect issue

2024-04-01 Thread Li Feng
Hi yajun, I have submitted a patch to fix this problem a few months ago, but in the end this solution was not accepted and other solutions were adopted to fix it. https://lore.kernel.org/all/20230804052954.2918915-2-fen...@smartx.com/ This is the merged fix: https://lore.kernel.org/all/a68c01

Re: vhost-user-blk reconnect issue

2024-04-01 Thread Michael S. Tsirkin
On Mon, Apr 01, 2024 at 10:08:10AM +0800, Yajun Wu wrote: > > On 3/27/2024 6:47 PM, Stefano Garzarella wrote: > > External email: Use caution opening links or attachments > > > > > > Hi Yajun, > > > > On Mon, Mar 25, 2024 at 10:54:13AM +, Yajun Wu wrote: > > > Hi experts, > > > > > > With

Re: vhost-user-blk reconnect issue

2024-03-31 Thread Yajun Wu
On 3/27/2024 6:47 PM, Stefano Garzarella wrote: External email: Use caution opening links or attachments Hi Yajun, On Mon, Mar 25, 2024 at 10:54:13AM +, Yajun Wu wrote: Hi experts, With latest QEMU (8.2.90), we find two vhost-user-blk backend reconnect failure scenarios: Do you know i

Re: vhost-user-blk reconnect issue

2024-03-27 Thread Stefano Garzarella
Hi Yajun, On Mon, Mar 25, 2024 at 10:54:13AM +, Yajun Wu wrote: Hi experts, With latest QEMU (8.2.90), we find two vhost-user-blk backend reconnect failure scenarios: Do you know if has it ever worked and so it's a regression, or have we always had this problem? Thanks, Stefano 1. D

vhost-user-blk reconnect issue

2024-03-25 Thread Yajun Wu
Hi experts, With latest QEMU (8.2.90), we find two vhost-user-blk backend reconnect failure scenarios: 1. Disconnect vhost-user-blk backend before guest driver probe vblk device, then reconnect backend after guest driver probe device. QEMU won't send out any vhost messages to restore backend. T