[dm-devel] dm-crypt with no_read_workqueue and no_write_workqueue + btrfs scrub = BUG()

Maciej S. Szmigiero mail at maciej.szmigiero.name
Wed Dec 23 15:37:34 UTC 2020


On 14.12.2020 19:11, Maciej S. Szmigiero wrote:
> Hi,
> 
> I hit a reproducible BUG() when scrubbing a btrfs fs on top of
> a dm-crypt device with no_read_workqueue and no_write_workqueue
> flags enabled.

Still happens on the current torvalds/master.

Due to this bug it is not possible to use btrfs on top of
a dm-crypt device with no_read_workqueue and no_write_workqueue
flags enabled.

@Ignat:
Can you have a look at this as the person who added these flags?

It looks like to me that the skcipher API might not be safe to
call from a softirq context, after all.

Maciej




More information about the dm-devel mailing list