Files
linux/drivers/md
Mikulas Patocka af4fc583fd dm-snapshot: fix 'scheduling while atomic' on real-time kernels
[ Upstream commit 8581b19eb2 ]

There is reported 'scheduling while atomic' bug when using dm-snapshot on
real-time kernels. The reason for the bug is that the hlist_bl code does
preempt_disable() when taking the lock and the kernel attempts to take
other spinlocks while holding the hlist_bl lock.

Fix this by converting a hlist_bl spinlock into a regular spinlock.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Reported-by: Jiping Ma <jiping.ma2@windriver.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-01-17 16:29:55 +01:00
..
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2024-03-26 18:20:13 -04:00
2024-03-26 18:20:13 -04:00
2024-03-26 18:20:13 -04:00
2023-02-14 14:23:06 -05:00
2024-03-26 18:20:13 -04:00
2023-07-27 00:13:30 -07:00
2023-07-27 00:13:30 -07:00