Project

General

Profile

Actions

Bug #13873

closed

SMB shutdown hang with CA handles

Added by Gordon Ross 7 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cifs - CIFS server and client
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

SMB server shut down hang observed with threads stuck in oplock break:


THREAD           STATE    SOBJ                COUNT
ffffd001c956ec40 SLEEP    CV                      2
                 swtch+0x141
                 cv_wait+0x70
                 smb_ofile_hold_olbrk+0x7c
                 smb_oplock_ind_break+0x80
                 smb_oplock_break_cmn+0x889
                 smb_oplock_break_OPEN+0x31
                 smb_common_open+0xdda
                 smb2_dh_import_handle+0x35e
                 smb2_dh_import_share+0x1a8
                 taskq_d_thread+0xb7
                 thread_start+8
ffffd14cf871e100 SLEEP    CV                      1
                 swtch+0x141
                 cv_wait+0x70
                 smb_avl_destroy+0x5b
                 smb_export_stop+0x4e
                 smb_server_shutdown+0x144
                 smb_server_delete+0x1c7
                 smb_drv_close+0x3d
                 dev_close+0x31
                 device_close+0xd8
                 spec_close+0x17b
                 fop_close+0x61
                 closef+0x5e
                 closeandsetf+0x398
                 close+0x13
                 _sys_sysenter_post_swapgs+0x149
ffffd001c9562c40 SLEEP    CV                      1
                 swtch+0x141
                 cv_wait+0x70
                 smb_thread_continue_timedwait_locked+0x5d
                 smb_thread_continue+0x2d
                 smb_kshare_unexport_thread+0x40
                 smb_thread_entry_point+0x53
                 thread_start+8
> ::stacks -m smbsrv
 ffffd001c956ec40::thread -d
            ADDR         DISPTIME BOUND PR
ffffd001c956ec40           2da6e1    -1  0

Actions

Also available in: Atom PDF