Re: [Qemu-block] encrypt in threads

2018-11-30 Thread Daniel P . Berrangé
On Fri, Nov 30, 2018 at 10:04:57AM +, Vladimir Sementsov-Ogievskiy wrote: > 30.11.2018 12:48, Daniel P. Berrangé wrote: > > On Thu, Nov 29, 2018 at 06:28:44PM +, Vladimir Sementsov-Ogievskiy > > wrote: > >> > >> On 27.11.2018 16:08, Daniel P. Berrangé wrote: > >>> On Thu, Nov 22, 2018 at

Re: [Qemu-block] encrypt in threads

2018-11-30 Thread Vladimir Sementsov-Ogievskiy
30.11.2018 12:48, Daniel P. Berrangé wrote: > On Thu, Nov 29, 2018 at 06:28:44PM +, Vladimir Sementsov-Ogievskiy wrote: >> >> On 27.11.2018 16:08, Daniel P. Berrangé wrote: >>> On Thu, Nov 22, 2018 at 01:01:20PM +, Vladimir Sementsov-Ogievskiy >>> wrote: 21.11.2018 20:30, Vladimir

Re: [Qemu-block] encrypt in threads

2018-11-30 Thread Daniel P . Berrangé
On Thu, Nov 29, 2018 at 06:28:44PM +, Vladimir Sementsov-Ogievskiy wrote: > > On 27.11.2018 16:08, Daniel P. Berrangé wrote: > > On Thu, Nov 22, 2018 at 01:01:20PM +, Vladimir Sementsov-Ogievskiy > > wrote: > >> 21.11.2018 20:30, Vladimir Sementsov-Ogievskiy wrote: > >>> Hi Daniel! > >>>

Re: [Qemu-block] encrypt in threads

2018-11-29 Thread Vladimir Sementsov-Ogievskiy
On 27.11.2018 16:08, Daniel P. Berrangé wrote: > On Thu, Nov 22, 2018 at 01:01:20PM +, Vladimir Sementsov-Ogievskiy wrote: >> 21.11.2018 20:30, Vladimir Sementsov-Ogievskiy wrote: >>> Hi Daniel! >>> >>> After moving compression to threads in Qcow2 it's an obvious next step to >>> "threadyfy"

Re: [Qemu-block] encrypt in threads

2018-11-27 Thread Daniel P . Berrangé
On Thu, Nov 22, 2018 at 01:01:20PM +, Vladimir Sementsov-Ogievskiy wrote: > 21.11.2018 20:30, Vladimir Sementsov-Ogievskiy wrote: > > Hi Daniel! > > > > After moving compression to threads in Qcow2 it's an obvious next step to > > "threadyfy" encryption in Qcow2 too. > > > > But it turned

Re: [Qemu-block] encrypt in threads

2018-11-27 Thread Daniel P . Berrangé
On Wed, Nov 21, 2018 at 05:30:53PM +, Vladimir Sementsov-Ogievskiy wrote: > Hi Daniel! > > After moving compression to threads in Qcow2 it's an obvious next step to > "threadyfy" encryption in Qcow2 too. > > But it turned out to be not as simple as I assumed. If I call >

Re: [Qemu-block] encrypt in threads

2018-11-22 Thread Vladimir Sementsov-Ogievskiy
21.11.2018 20:30, Vladimir Sementsov-Ogievskiy wrote: > Hi Daniel! > > After moving compression to threads in Qcow2 it's an obvious next step to > "threadyfy" encryption in Qcow2 too. > > But it turned out to be not as simple as I assumed. If I call > qcrypto_block_encrypt > in parallel threads

[Qemu-block] encrypt in threads

2018-11-21 Thread Vladimir Sementsov-Ogievskiy
Hi Daniel! After moving compression to threads in Qcow2 it's an obvious next step to "threadyfy" encryption in Qcow2 too. But it turned out to be not as simple as I assumed. If I call qcrypto_block_encrypt in parallel threads with the same first argument (block), it just produce wrong things