[PATCH v3 0/2] dm crypt: some fixes to support dm-crypt running in softirq context
Ignat Korchagin <[email protected]> Mon, 4 Jan 2021 14:59:46 +0000
| Newsgroups | gmane.linux.kernel.device-mapper.devel,gmane.linux.kernel.device-mapper.dm-crypt,gmane.linux.kernel,gmane.comp.file-systems.btrfs |
|---|---|
| Message-ID | <[email protected]> |
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