RHEL9.2: soft lockups due to smb2_reconnect thread spinning on tc_lock
Issue
System get frequent soft lockups reports from a worker performing smb2_reconnect_server
:
[14115.807418] watchdog: BUG: soft lockup - CPU#3 stuck for 26s! [kworker/3:0:70557]
...
[14115.807915] CPU: 3 PID: 70557 Comm: kworker/3:0 Kdump: loaded Tainted: Gh ---- 5.14.0-284.11.1.el9_2.x86_64 #1
...
[14115.807921] Workqueue: cifsiod smb2_reconnect_server [cifs]
...
[14115.808490] Call Trace:
[14115.808491] <TASK>
[14115.808492] _raw_spin_lock+0x25/0x30
[14115.808497] smb2_reconnect.part.0+0x3f/0x5f0 [cifs]
[14115.808623] smb2_reconnect_server+0x203/0x5f0 [cifs]
[14115.808743] process_one_work+0x1e5/0x3c0
[14115.808746] ? rescuer_thread+0x3a0/0x3a0
[14115.808749] worker_thread+0x50/0x3b0
[14115.808751] ? rescuer_thread+0x3a0/0x3a0
[14115.808753] kthread+0xd6/0x100
[14115.808756] ? kthread_complete_and_exit+0x20/0x20
[14115.808758] ret_from_fork+0x1f/0x30
Environment
- Red Hat Enterprise Linux 9.2
kernel-5.14.0-284.11.1.el9_2.x86_64
- CIFS mounts
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.