diff options
| author | Kevin Wolf | 2013-12-03 14:55:55 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2014-01-24 17:40:02 +0100 |
| commit | 65afd211c71fc91750d8a18f9604c1e57a5202fb (patch) | |
| tree | 93c6a45fbdf3b9fab787bdeb3137b26aac842d75 /include/exec | |
| parent | block: Switch BdrvTrackedRequest to byte granularity (diff) | |
| download | qemu-65afd211c71fc91750d8a18f9604c1e57a5202fb.tar.gz qemu-65afd211c71fc91750d8a18f9604c1e57a5202fb.tar.xz qemu-65afd211c71fc91750d8a18f9604c1e57a5202fb.zip | |
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 'include/exec')
0 files changed, 0 insertions, 0 deletions
