Re: [dm-devel] Desynchronizing dm-raid1

2008-05-12 Thread Herbert Xu
On Mon, May 12, 2008 at 11:28:44PM -0400, Mikulas Patocka wrote: > > Or do you thint it would be useless (all major disk-encryption algorithms > read input buffer more times?) or it would create too much code > complexity? I'm open to this approach. As long as you do the work and come up with

Re: [dm-devel] Desynchronizing dm-raid1

2008-05-12 Thread Mikulas Patocka
On Tue, 6 May 2008, Mikulas Patocka wrote: On Tue, 6 May 2008, Herbert Xu wrote: Mikulas Patocka <[EMAIL PROTECTED]> wrote: BTW: is it guaranteed for crypto functions that they read the source data only once? There is no such guarantee. Cheers, So we'll have to copy the sector to tempor