Re: [Qemu-block] [PATCH 11/12] block: Use normal drain for bdrv_set_aio_context()

2019-02-19 Thread Eric Blake
On 2/19/19 5:23 AM, Kevin Wolf wrote: > Am 18.02.2019 um 21:57 hat Eric Blake geschrieben: >> On 2/18/19 10:18 AM, Kevin Wolf wrote: >>> Now that bdrv_set_aio_context() works inside drained sections, it can >>> also use the real drain function instead of open coding something >>> similar. >>> >>> S

Re: [Qemu-block] [PATCH 11/12] block: Use normal drain for bdrv_set_aio_context()

2019-02-19 Thread Kevin Wolf
Am 18.02.2019 um 21:57 hat Eric Blake geschrieben: > On 2/18/19 10:18 AM, Kevin Wolf wrote: > > Now that bdrv_set_aio_context() works inside drained sections, it can > > also use the real drain function instead of open coding something > > similar. > > > > Signed-off-by: Kevin Wolf > > --- > > b

Re: [Qemu-block] [PATCH 11/12] block: Use normal drain for bdrv_set_aio_context()

2019-02-18 Thread Eric Blake
On 2/18/19 10:18 AM, Kevin Wolf wrote: > Now that bdrv_set_aio_context() works inside drained sections, it can > also use the real drain function instead of open coding something > similar. > > Signed-off-by: Kevin Wolf > --- > block.c | 14 +- > 1 file changed, 5 insertions(+), 9 de

[Qemu-block] [PATCH 11/12] block: Use normal drain for bdrv_set_aio_context()

2019-02-18 Thread Kevin Wolf
Now that bdrv_set_aio_context() works inside drained sections, it can also use the real drain function instead of open coding something similar. Signed-off-by: Kevin Wolf --- block.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/block.c b/block.c index aefb57