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

From: Ignat Korchagin
Date: Mon Jan 04 2021 - 10:01:25 EST


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