Re: [Qemu-devel] aio context ownership during bdrv_close()

2019-05-06 Thread Kevin Wolf
Am 06.05.2019 um 14:47 hat Anton Kuchin geschrieben: > On 29/04/2019 13:38, Kevin Wolf wrote: > > Am 26.04.2019 um 14:24 hat Anton Kuchin geschrieben: > > > I can't figure out ownership of aio context during bdrv_close(). > > > > > > As far as I understand bdrv_unref() shold be called with acquire

Re: [Qemu-devel] aio context ownership during bdrv_close()

2019-05-06 Thread Anton Kuchin
On 29/04/2019 13:38, Kevin Wolf wrote: Am 26.04.2019 um 14:24 hat Anton Kuchin geschrieben: I can't figure out ownership of aio context during bdrv_close(). As far as I understand bdrv_unref() shold be called with acquired aio context to prevent concurrent operations (at least most usages in bl

Re: [Qemu-devel] aio context ownership during bdrv_close()

2019-04-29 Thread Kevin Wolf
Am 26.04.2019 um 14:24 hat Anton Kuchin geschrieben: > I can't figure out ownership of aio context during bdrv_close(). > > As far as I understand bdrv_unref() shold be called with acquired aio > context to prevent concurrent operations (at least most usages in blockdev.c > explicitly acquire and