diff options
| author | Haotian Zhang <vulab@iscas.ac.cn> | 2025-12-01 15:41:03 +0800 |
|---|---|---|
| committer | Mikulas Patocka <mpatocka@redhat.com> | 2025-12-10 19:28:22 +0100 |
| commit | ab08f9c8b363297cafaf45475b08f78bf19b88ef (patch) | |
| tree | 976beb7de4731de5b8d9ea1a2b108ff7f7cc1436 /scripts/lib/kdoc/kdoc_re.py | |
| parent | 2f6cfd6d7cb165a7af8877b838a9f6aab4159324 (diff) | |
dm log-writes: Add missing set_freezable() for freezable kthread
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: 0e9cebe72459 ("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>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions
