Re: [PATCH] vdpa/ifc: improve device stop logic for block device

2023-02-03 Thread Maxime Coquelin
On 12/13/22 08:37, Andy Pei wrote: For block device, we make sure no IO is inflight before we stop device. We terminate the notify relay process and wait for all inflight IOs to be completed. So in this period, we wait for hardware to update used index, there is no need to relay new kick. Sig

Re: [PATCH] vdpa/ifc: improve device stop logic for block device

2023-01-19 Thread Maxime Coquelin
On 12/13/22 08:37, Andy Pei wrote: For block device, we make sure no IO is inflight before we stop device. We terminate the notify relay process and wait for all inflight IOs to be completed. So in this period, we wait for hardware to update used index, there is no need to relay new kick. Sig

[PATCH] vdpa/ifc: improve device stop logic for block device

2022-12-13 Thread Andy Pei
For block device, we make sure no IO is inflight before we stop device. We terminate the notify relay process and wait for all inflight IOs to be completed. So in this period, we wait for hardware to update used index, there is no need to relay new kick. Signed-off-by: Andy Pei --- drivers/vdpa/