summaryrefslogtreecommitdiffstats
path: root/target-s390x/ioinst.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2016-04-20 00:59:47 +0200
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 20:03:49 -0600
commita9ad7d5877cea3fd533dd9851ddca59c3a9aee66 (patch)
tree2fe1935b7cdf7dc92d7f408b9a26e43bdc6c873c /target-s390x/ioinst.c
parent8f072d7156cc86006ddad2c08b030501f23c2478 (diff)
downloadhqemu-a9ad7d5877cea3fd533dd9851ddca59c3a9aee66.zip
hqemu-a9ad7d5877cea3fd533dd9851ddca59c3a9aee66.tar.gz
block/mirror: Revive dead yielding code
mirror_iteration() is supposed to wait if the current chunk is subject to a still in-flight mirroring operation. However, it mixed checking this conflict situation with checking the dirty status of a chunk. A simplification for the latter condition (the first chunk encountered is always dirty) led to neglecting the former: We just skip the first chunk and thus never test whether it conflicts with an in-flight operation. To fix this, pull out the code which waits for in-flight operations on the first chunk of the range to be mirrored to settle. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'target-s390x/ioinst.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud