Re: [PATCH v2 1/1] smb: client: Fix hang in smb2_reconnect

From: Rickard x Andersson
Date: Mon Apr 15 2024 - 08:05:59 EST


On 4/13/24 21:40, Steve French wrote:
Is there any way to verify if the same problem can be reproduced with 6.9-rc3 or later


I have now reproduced the problem also on 6.9.0-rc3:


INFO: task umount:511 blocked for more than 614 seconds.
Not tainted 6.9.0-rc3-axis9-devel #1
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:umount state:D stack:0 pid:511 tgid:511 ppid:509 flags:0x00000004
Call trace:
__schedule from schedule+0x34/0x14c
schedule from schedule_preempt_disabled+0x24/0x34
schedule_preempt_disabled from __mutex_lock.constprop.0+0x330/0x8b0
__mutex_lock.constprop.0 from smb2_reconnect+0x114/0x8fc [cifs]
smb2_reconnect [cifs] from SMB2_open_init+0x58/0xa5c [cifs]
SMB2_open_init [cifs] from smb2_query_info_compound+0x1a4/0x50c [cifs]
smb2_query_info_compound [cifs] from smb2_queryfs+0x64/0x134 [cifs]
smb2_queryfs [cifs] from cifs_statfs+0xc8/0x318 [cifs]
cifs_statfs [cifs] from statfs_by_dentry+0x60/0x84
statfs_by_dentry from fd_statfs+0x30/0x74
fd_statfs from sys_fstatfs64+0x40/0x6c
sys_fstatfs64 from ret_fast_syscall+0x0/0x54
Exception stack(0xc749ffa8 to 0xc749fff0)
ffa0: 01716218 00000000 00000003 00000058 beb62b90 00000000
ffc0: 01716218 00000000 00000003 0000010b b6fbd138 01716448 017162a4 beb62b90
ffe0: 0000010b beb62ad4 b6f0861f b6e87866


Best regards,
Rickard