]> www.infradead.org Git - users/dwmw2/qemu.git/commit
qcow2: bdrv_co_pwritev: move encryption code out of the lock
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Mon, 6 May 2019 14:27:40 +0000 (17:27 +0300)
committerMax Reitz <mreitz@redhat.com>
Tue, 28 May 2019 18:30:55 +0000 (20:30 +0200)
commit5447c3a03f6775a99da6e36cc7eda09f293d7521
treea2b7701cd2a626330b7a834d6356d41960088482
parentf24196d388ec781ce3ae99c1fb78ba9755785f91
qcow2: bdrv_co_pwritev: move encryption code out of the lock

Encryption will be done in threads, to take benefit of it, we should
move it out of the lock first.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190506142741.41731-8-vsementsov@virtuozzo.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/qcow2.c