Re: [PATCH v3 0/2] dm crypt: some fixes to support dm-crypt running in softirq context

From: Mikulas Patocka
Date: Mon Jan 04 2021 - 12:06:56 EST




On Mon, 4 Jan 2021, Ignat Korchagin wrote:

> Changes from v1:
> * 0001: handle memory allocation failure for GFP_ATOMIC
>
> Changes from v2:
> * reordered patches
> * 0002: crypt_convert will be retried from a workqueue, when a crypto request
> allocation fails with GFP_ATOMIC instead of just returning an IO error to
> the user
>
> Ignat Korchagin (2):
> dm crypt: do not wait for backlogged crypto request completion in
> softirq
> dm crypt: use GFP_ATOMIC when allocating crypto requests from softirq
>
> drivers/md/dm-crypt.c | 138 +++++++++++++++++++++++++++++++++++++-----
> 1 file changed, 123 insertions(+), 15 deletions(-)
>
> --
> 2.20.1
>

Acked-by: Mikulas Patocka <mpatocka@xxxxxxxxxx>