Re: [Qemu-devel] [PATCH v2 2/5] blockdev: Move BDS AioContext before inserting to BB

2016-09-28 Thread Max Reitz
On 27.09.2016 08:37, Fam Zheng wrote: > The callers made sure the BDS has no BB attached before, so blk is > becoming the sole owner. It is necessary to move the BDS to the right > AioContext before inserting it, to keep them in sync. Well, I'm not sure whether it's so simple, though, because you

[Qemu-devel] [PATCH v2 2/5] blockdev: Move BDS AioContext before inserting to BB

2016-09-26 Thread Fam Zheng
The callers made sure the BDS has no BB attached before, so blk is becoming the sole owner. It is necessary to move the BDS to the right AioContext before inserting it, to keep them in sync. Signed-off-by: Fam Zheng --- blockdev.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/blockd