diff options
author | Kevin Wolf <kwolf@redhat.com> | 2018-03-23 20:29:24 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-06-18 15:03:25 +0200 |
commit | 0109e7e6f83ae5166b81bbd9a4319d60be49985a (patch) | |
tree | 2e857bee2d5554f969a1c06ad359bf2495cc2624 /scsi | |
parent | 231281ab42dad2b407b941e36ad11cbc6586e937 (diff) |
block: Defer .bdrv_drain_begin callback to polling phase
We cannot allow aio_poll() in bdrv_drain_invoke(begin=true) until we're
done with propagating the drain through the graph and are doing the
single final BDRV_POLL_WHILE().
Just schedule the coroutine with the callback and increase bs->in_flight
to make sure that the polling phase will wait for it.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scsi')
0 files changed, 0 insertions, 0 deletions