aboutsummaryrefslogtreecommitdiff
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2020-04-29 16:08:47 +0300
committerMax Reitz <mreitz@redhat.com>2020-05-05 14:03:28 +0200
commit4ce5dd3e9b5ee0fac18625860eb3727399ee965e (patch)
tree52b2cca6d7a47926a4f61464c8fa68186c0770bf /hmp-commands.hx
parent42ac214406e092038b13f02c2ff9768d4dd41e1b (diff)
block/block-copy: use aio-task-pool API
Run block_copy iterations in parallel in aio tasks. Changes: - BlockCopyTask becomes aio task structure. Add zeroes field to pass it to block_copy_do_copy - add call state - it's a state of one call of block_copy(), shared between parallel tasks. For now used only to keep information about first error: is it read or not. - convert block_copy_dirty_clusters to aio-task loop. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20200429130847.28124-6-vsementsov@virtuozzo.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
0 files changed, 0 insertions, 0 deletions