diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-11-29 12:32:42 +0100 |
---|---|---|
committer | Jeff Cody <jcody@redhat.com> | 2017-02-01 00:17:20 -0500 |
commit | e80ab33dc0f9b87542b7aa1088d2e1e3968ed516 (patch) | |
tree | 08ced04e20c897bc53c0f3a432033ced2e268e0e /scripts/tracetool.py | |
parent | a71264f9f5068213f5757133bba028ae1f37d460 (diff) | |
download | qemu-e80ab33dc0f9b87542b7aa1088d2e1e3968ed516.zip qemu-e80ab33dc0f9b87542b7aa1088d2e1e3968ed516.tar.gz qemu-e80ab33dc0f9b87542b7aa1088d2e1e3968ed516.tar.bz2 |
sheepdog: reorganize coroutine flow
Delimit co_recv's lifetime clearly in aio_read_response.
Do a simple qemu_coroutine_enter in aio_read_response, letting
sd_co_writev call sd_write_done.
Handle nr_pending in the same way in sd_co_rw_vector,
sd_write_done and sd_co_flush_to_disk.
Remove sd_co_rw_vector's return value; just leave with no
pending requests.
[Jeff: added missing 'return' back, spotted by Paolo after
series was applied.]
Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'scripts/tracetool.py')
0 files changed, 0 insertions, 0 deletions