Re: dm-crypt with no_read_workqueue and no_write_workqueue + btrfs scrub = BUG()
Herbert Xu <[email protected]> Thu, 24 Dec 2020 07:56:42 +1100
| Newsgroups | gmane.linux.kernel.device-mapper.devel,gmane.linux.kernel.device-mapper.dm-crypt,gmane.linux.kernel,gmane.comp.file-systems.btrfs,gmane.linux.kernel.cryptoapi |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Dec 23, 2020 at 04:37:34PM +0100, Maciej S. Szmigiero wrote: > > It looks like to me that the skcipher API might not be safe to > call from a softirq context, after all. skcipher is safe to use in a softirq. The problem is only in dm-crypt where it tries to allocate memory with GFP_NOIO. Cheers, -- Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt