diff options
| author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2019-05-06 17:27:39 +0300 |
|---|---|---|
| committer | Max Reitz <mreitz@redhat.com> | 2019-05-28 20:30:55 +0200 |
| commit | f24196d388ec781ce3ae99c1fb78ba9755785f91 (patch) | |
| tree | 040436e09bc92779e9ea2c5dccd001b81a6ecdaf /scripts/qapi/common.py | |
| parent | 6f13a316dd3a6916de4733e56585127445b19458 (diff) | |
| download | focaccia-qemu-f24196d388ec781ce3ae99c1fb78ba9755785f91.tar.gz focaccia-qemu-f24196d388ec781ce3ae99c1fb78ba9755785f91.zip | |
qcow2: qcow2_co_preadv: improve locking
Background: decryption will be done in threads, to take benefit of it, we should move it out of the lock first. But let's go further: it turns out, that only qcow2_get_cluster_offset() needs locking, so reduce locking to it. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-id: 20190506142741.41731-7-vsementsov@virtuozzo.com Reviewed-by: Alberto Garcia <berto@igalia.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions