block/backup: move in-flight requests handling from backup to block-copy
commita6ffe1998cfe1fd3cd83de0a7d1dd16eb514f987
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tue, 1 Oct 2019 13:14:05 +0000 (1 16:14 +0300)
committerMax Reitz <mreitz@redhat.com>
Thu, 10 Oct 2019 08:56:18 +0000 (10 10:56 +0200)
tree2340299ddbb9c799fa5a9d9f0d63bd89551182a2
parentf2d86ade4da71d1f32ffc5977ea5417c20996919
block/backup: move in-flight requests handling from backup to block-copy

Move synchronization mechanism to block-copy, to be able to use one
block-copy instance from backup job and backup-top filter in parallel.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-id: 20191001131409.14202-2-vsementsov@virtuozzo.com
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/backup.c
block/block-copy.c
include/block/block-copy.h