Searched hist:"1 a63a907507fbbcfaee3f622907ec244b7eabda8" (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/block/ |
H A D | replication.c | diff 1a63a907507fbbcfaee3f622907ec244b7eabda8 Wed Dec 06 13:24:44 CST 2017 Kevin Wolf <kwolf@redhat.com> block: Keep nodes drained between reopen_queue/multiple
The bdrv_reopen*() implementation doesn't like it if the graph is changed between queuing nodes for reopen and actually reopening them (one of the reasons is that queuing can be recursive).
So instead of draining the device only in bdrv_reopen_multiple(), require that callers already drained all affected nodes, and assert this in bdrv_reopen_queue().
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com>
|
/openbmc/qemu/ |
H A D | qemu-io-cmds.c | diff 1a63a907507fbbcfaee3f622907ec244b7eabda8 Wed Dec 06 13:24:44 CST 2017 Kevin Wolf <kwolf@redhat.com> block: Keep nodes drained between reopen_queue/multiple
The bdrv_reopen*() implementation doesn't like it if the graph is changed between queuing nodes for reopen and actually reopening them (one of the reasons is that queuing can be recursive).
So instead of draining the device only in bdrv_reopen_multiple(), require that callers already drained all affected nodes, and assert this in bdrv_reopen_queue().
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com>
|
H A D | block.c | diff 1a63a907507fbbcfaee3f622907ec244b7eabda8 Wed Dec 06 13:24:44 CST 2017 Kevin Wolf <kwolf@redhat.com> block: Keep nodes drained between reopen_queue/multiple
The bdrv_reopen*() implementation doesn't like it if the graph is changed between queuing nodes for reopen and actually reopening them (one of the reasons is that queuing can be recursive).
So instead of draining the device only in bdrv_reopen_multiple(), require that callers already drained all affected nodes, and assert this in bdrv_reopen_queue().
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com>
|