-
Fam Zheng authored
bdrv_replace_child_noperm tries to hand over the quiesce_counter state from old bs to the new one, but if they are not on the same aio context this causes unbalance. Fix this by setting the correct aio context before calling bdrv_append(). Reported-by:
Ed Swierk <eswierk@skyportsystems.com>
Reviewed-by:
Eric Blake <eblake@redhat.com>
Signed-off-by:
Fam Zheng <famz@redhat.com>
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>Fam Zheng authoredbdrv_replace_child_noperm tries to hand over the quiesce_counter state from old bs to the new one, but if they are not on the same aio context this causes unbalance. Fix this by setting the correct aio context before calling bdrv_append(). Reported-by:
Ed Swierk <eswierk@skyportsystems.com>
Reviewed-by:
Eric Blake <eblake@redhat.com>
Signed-off-by:
Fam Zheng <famz@redhat.com>
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Loading