aboutsummaryrefslogtreecommitdiff
path: root/qemu-img-cmds.hx
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2021-06-10 13:08:02 +0300
committerEric Blake <eblake@redhat.com>2021-06-18 12:21:22 -0500
commitbbfb7c2f350262f893642433dea66352fc168295 (patch)
tree3e97e429acbe46ffac86019a601265952154c8c8 /qemu-img-cmds.hx
parent91e0998f5ab88e575b5d1b9bc55e0d179b9224f1 (diff)
block/nbd: safer transition to receiving request
req->receiving is a flag of request being in one concrete yield point in nbd_co_do_receive_one_chunk(). Such kind of boolean flag is always better to unset before scheduling the coroutine, to avoid double scheduling. So, let's be more careful. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20210610100802.5888-33-vsementsov@virtuozzo.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'qemu-img-cmds.hx')
0 files changed, 0 insertions, 0 deletions