Files
Haotian Zhang ec483aee67 dm log-writes: Add missing set_freezable() for freezable kthread
[ Upstream commit ab08f9c8b3 ]

The log_writes_kthread() calls try_to_freeze() but lacks set_freezable(),
rendering the freeze attempt ineffective since kernel threads are
non-freezable by default. This prevents proper thread suspension during
system suspend/hibernate.

Add set_freezable() to explicitly mark the thread as freezable.

Fixes: 0e9cebe724 ("dm: add log writes target")
Signed-off-by: Haotian Zhang <vulab@iscas.ac.cn>
Reviewed-by: Benjamin Marzinski <bmarzins@redhat.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-12-18 14:00:14 +01:00
..
2024-04-01 11:53:37 -06:00
2023-02-14 14:23:07 -05:00
2024-02-20 14:22:51 -05:00
2024-11-20 11:38:04 +01:00
2025-01-13 07:36:29 -08:00
2025-01-13 07:36:29 -08:00
2025-12-18 13:59:36 +01:00