diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-12-03 14:55:55 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-01-24 17:40:02 +0100 |
commit | 65afd211c71fc91750d8a18f9604c1e57a5202fb (patch) | |
tree | 93c6a45fbdf3b9fab787bdeb3137b26aac842d75 /migration-unix.c | |
parent | 793ed47a7a2b09b67cb2a8863dff531436532b5c (diff) | |
download | qemu-65afd211c71fc91750d8a18f9604c1e57a5202fb.zip qemu-65afd211c71fc91750d8a18f9604c1e57a5202fb.tar.gz qemu-65afd211c71fc91750d8a18f9604c1e57a5202fb.tar.bz2 |
block: Allow waiting for overlapping requests between begin/end
Previously, it was not possible to use wait_for_overlapping_requests()
between tracked_request_begin()/end() because it would wait for itself.
Ignore the current request in the overlap check and run more of the
bdrv_co_do_preadv/pwritev code with a BdrvTrackedRequest present.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Diffstat (limited to 'migration-unix.c')
0 files changed, 0 insertions, 0 deletions