Re: [PATCH RFC 0/3] mirror: rework soft-cancelling READY mirror

2021-07-30 Thread Max Reitz
On 29.07.21 18:29, Vladimir Sementsov-Ogievskiy wrote: 29.07.2021 16:47, Max Reitz wrote: On 29.07.21 13:35, Vladimir Sementsov-Ogievskiy wrote: 29.07.2021 13:38, Max Reitz wrote: On 29.07.21 12:02, Vladimir Sementsov-Ogievskiy wrote: 28.07.2021 10:00, Max Reitz wrote: On 27.07.21 18:47,

[RFC] qemu_cleanup: do vm_shutdown() before bdrv_drain_all_begin()

2021-07-30 Thread Vladimir Sementsov-Ogievskiy
That doesn't seem good to stop handling io when guest is still running. For example it leads to the following: After bdrv_drain_all_begin(), during vm_shutdown() scsi_dma_writev() calls blk_aio_pwritev(). As we are in drained section the request waits in blk_wait_while_drained(). Next, during

Re: [PULL for-6.1 0/3] Block patches

2021-07-30 Thread Peter Maydell
On Thu, 29 Jul 2021 at 17:23, Stefan Hajnoczi wrote: > > The following changes since commit 3521ade3510eb5cefb2e27a101667f25dad89935: > > Merge remote-tracking branch > 'remotes/thuth-gitlab/tags/pull-request-2021-07-29' into staging (2021-07-29 > 13:17:20 +0100) > > are available in the Git