projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
143c2e0
)
block/mirror: set .co for active-write MirrorOp objects
author
Vladimir Sementsov-Ogievskiy
<vsementsov@virtuozzo.com>
Fri, 2 Jul 2021 21:16:34 +0000
(
00:16
+0300)
committer
Kevin Wolf
<kwolf@redhat.com>
Tue, 20 Jul 2021 11:14:45 +0000
(13:14 +0200)
This field is unused, but it very helpful for debugging.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <
20210702211636
.228981-2-vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/mirror.c
patch
|
blob
|
history
diff --git
a/block/mirror.c
b/block/mirror.c
index 019f6deaa5d2e62de009123f02ec2cbe8320865a..ad6aac2f959243ece6eb5cf11f0593612a941849 100644
(file)
--- a/
block/mirror.c
+++ b/
block/mirror.c
@@
-1343,6
+1343,7
@@
static MirrorOp *coroutine_fn active_write_prepare(MirrorBlockJob *s,
.bytes = bytes,
.is_active_write = true,
.is_in_flight = true,
+ .co = qemu_coroutine_self(),
};
qemu_co_queue_init(&op->waiting_requests);
QTAILQ_INSERT_TAIL(&s->ops_in_flight, op, next);