diff options
| author | Vladimir Sementsov-Ogievskiy | 2019-05-06 16:27:39 +0200 |
|---|---|---|
| committer | Max Reitz | 2019-05-28 20:30:55 +0200 |
| commit | f24196d388ec781ce3ae99c1fb78ba9755785f91 (patch) | |
| tree | 040436e09bc92779e9ea2c5dccd001b81a6ecdaf /tests/qapi-schema/args-array-unknown.json | |
| parent | qcow2-threads: split out generic path (diff) | |
| download | qemu-f24196d388ec781ce3ae99c1fb78ba9755785f91.tar.gz qemu-f24196d388ec781ce3ae99c1fb78ba9755785f91.tar.xz 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 'tests/qapi-schema/args-array-unknown.json')
0 files changed, 0 insertions, 0 deletions
