]> git.proxmox.com Git - mirror_qemu.git/commit - block.c
block: Move node without parents to main AioContext
authorKevin Wolf <kwolf@redhat.com>
Wed, 24 Apr 2019 16:04:42 +0000 (18:04 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 4 Jun 2019 13:22:22 +0000 (15:22 +0200)
commitad943dcb226a083a0c433ae73737c4834f8cfe74
treee38cb98f7a2563abadc4616114e3f58b827f803c
parent2e9cdab3000530fdd03df7f0a5d124eaa0ae942f
block: Move node without parents to main AioContext

A node should only be in a non-default AioContext if a user is attached
to it that requires this. When the last parent of a node is gone, it can
move back to the main AioContext.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
tests/test-bdrv-drain.c
tests/test-block-iothread.c