Home
last modified time | relevance | path

Searched hist:"12 aa4082" (Results 1 – 1 of 1) sorted by relevance

/qemu/block/
H A Dmirror.c12aa4082 Wed Jun 13 18:18:12 GMT 2018 Max Reitz <mreitz@redhat.com> block/mirror: Use CoQueue to wait on in-flight ops

Attach a CoQueue to each in-flight operation so if we need to wait for
any we can use it to wait instead of just blindly yielding and hoping
for some operation to wake us.

A later patch will use this infrastructure to allow requests accessing
the same area of the virtual disk to specifically wait for each other.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 20180613181823.13618-4-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>