Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: Fix AioContext switch for drained node
When a drained node changes its AioContext, we need to move its aio_disable_external() to the new context, too. Without this fix, drain_end will try to reenable the new context, which has never been disabled, so an assertion failure is triggered. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
- Loading branch information