On Mon, Apr 10, 2017 at 11:05:34PM +0800, Fam Zheng wrote: > The fact that the bs->aio_context is changing can confuse the dataplane > iothread, because of the now fine granularity aio context lock. > bdrv_drain should rather be a bdrv_drained_begin/end pair, but since > bs->aio_context is changing, we can just use aio_disable_external and > bdrv_parent_drained_begin. > > Reported-by: Ed Swierk <eswi...@skyportsystems.com> > Signed-off-by: Fam Zheng <f...@redhat.com> > --- > block.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature