Re: [RFC PATCH v5 1/1] Add dm verity root hash pkcs7 sig validation.

2019-08-13 Thread Jaskaran Singh Khurana
Hello Mike, On Tue, 25 Jun 2019, Mike Snitzer wrote: On Wed, Jun 19 2019 at 3:10pm -0400, Jaskaran Khurana wrote: The verification is to support cases where the roothash is not secured by Trusted Boot, UEFI Secureboot or similar technologies. One of the use cases for this is for dm-verity

Re: [dm-devel] [PATCH v10 2/7] fs: crypto: invoke crypto API for ESSIV handling

2019-08-13 Thread Ard Biesheuvel
On Tue, 13 Aug 2019 at 21:00, Eric Biggers wrote: > > On Tue, Aug 13, 2019 at 08:09:41AM +0300, Ard Biesheuvel wrote: > > On Mon, 12 Aug 2019 at 22:47, Eric Biggers wrote: > > > > > > On Mon, Aug 12, 2019 at 05:53:19PM +0300, Ard Biesheuvel wrote: > > > > Instead of open coding the calculations

Re: [dm-devel] [PATCH v10 2/7] fs: crypto: invoke crypto API for ESSIV handling

2019-08-13 Thread Eric Biggers
On Tue, Aug 13, 2019 at 08:09:41AM +0300, Ard Biesheuvel wrote: > On Mon, 12 Aug 2019 at 22:47, Eric Biggers wrote: > > > > On Mon, Aug 12, 2019 at 05:53:19PM +0300, Ard Biesheuvel wrote: > > > Instead of open coding the calculations for ESSIV handling, use a > > > ESSIV skcipher which does all

Re: [PATCH] direct-io: use GFP_NOIO to avoid deadlock

2019-08-13 Thread Mikulas Patocka
On Sat, 10 Aug 2019, Dave Chinner wrote: > No, you misunderstand. I'm talking about blocking kswapd being > wrong. i.e. Blocking kswapd in shrinkers causes problems > because th ememory reclaim code does not expect kswapd to be > arbitrarily delayed by waiting on IO. We've had this problem