Bug 219097
Summary: | BUG: Dentry 00000000a32a9144{i=71,n=/} still in use (2) [unmount of cifs cifs] / Busy inodes after unmount of cifs | ||
---|---|---|---|
Product: | File System | Reporter: | Alexander Goomenyuk (emerg.reanimator) |
Component: | CIFS | Assignee: | fs_cifs (fs_cifs) |
Status: | RESOLVED UNREPRODUCIBLE | ||
Severity: | normal | CC: | smfrench |
Priority: | P3 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | No | Bisected commit-id: |
Description
Alexander Goomenyuk
2024-07-26 15:56:08 UTC
What is the server type? I want to be able to rule out freeing the directory cache on umount. Do you know if it is reproducible on current mainline (6.11-rc1) > What is the server type? I want to be able to rule out freeing the directory
> cache on umount.
If I am not mistaken it must be a DFS cluster.
> Do you know if it is reproducible on current mainline (6.11-rc1) I may try that one 0.rc0.20240720gt3c3ff7be.307.vanilla.fc40 later this week https://copr.fedorainfracloud.org/coprs/g/kernel-vanilla/mainline/ (In reply to Steve French from comment #1) > What is the server type? I want to be able to rule out freeing the directory > cache on umount. Do you know if it is reproducible on current mainline > (6.11-rc1) Tried two kernels Here are the steps performed: - Established the VPN connection - Mounted the DFS share - Listing of the directories under the share works fine. - Disconnected from VPN: shutdown the VPN client - Connected the VPN once again. - Listing of the directories under the share does not works any more. The CIFS kernel layer tries to restore the connection in vain continuously. 1) 6.11.0-0.rc1.20240731gte4fc196f.317.vanilla.fc40.x86_64 2) 6.11.0-0.rc1.20240802gtc0ecd638.319.vanilla.fc40.x86_64; The kernels behaves in the same way. No kernel crashes observed, but the whole network stack is broken. I am not able to restart any systemd service. Even reboot ends up with a timeout. [ 530.362847] CIFS: fs/smb/client/connect.c: __reconnect_target_unlocked: reconn_set_ipaddr_from_hostname: rc=-4 [ 530.362851] CIFS: fs/smb/client/connect.c: generic_ip_connect: connecting to <server D IP0>:445 [ 530.362867] CIFS: fs/smb/client/connect.c: Socket created [ 530.362870] CIFS: fs/smb/client/connect.c: sndbuf 16384 rcvbuf 131072 rcvtimeo 0x1b58 [ 532.918825] CIFS: fs/smb/client/connect.c: Error -115 connecting to server [ 532.918858] CIFS: fs/smb/client/connect.c: __cifs_reconnect: reconnect error -115 [ 534.454864] CIFS: fs/smb/client/connect.c: Error -115 connecting to server [ 534.454897] CIFS: fs/smb/client/connect.c: reconnect_dfs_server: reconnect error -115 [ 535.478763] CIFS: fs/smb/client/connect.c: Error -115 connecting to server [ 535.478798] CIFS: fs/smb/client/connect.c: reconnect_dfs_server: reconnect error -115 [ 535.478810] CIFS: fs/smb/client/connect.c: Error -115 connecting to server [ 535.478840] CIFS: fs/smb/client/dns_resolve.c: dns_resolve_server_name_to_ip: probably server name is whole unc: \\<server name A> [ 535.482909] CIFS: fs/smb/client/dns_resolve.c: dns_resolve_server_name_to_ip: unable to resolve: <server name A> [ 535.482920] CIFS: fs/smb/client/connect.c: reconn_set_ipaddr_from_hostname: failed to resolve server part of <server name A> to IP: -4 [ 535.482926] CIFS: fs/smb/client/connect.c: __reconnect_target_unlocked: reconn_set_ipaddr_from_hostname: rc=-4 [ 535.482930] CIFS: fs/smb/client/connect.c: generic_ip_connect: connecting to <server D IP0>:445 [ 535.482949] CIFS: fs/smb/client/connect.c: Socket created [ 535.482952] CIFS: fs/smb/client/connect.c: sndbuf 16384 rcvbuf 131072 rcvtimeo 0x1b58 [ 535.926757] CIFS: fs/smb/client/dns_resolve.c: dns_resolve_server_name_to_ip: probably server name is whole unc: \\<server C IP0> [ 535.926769] CIFS: fs/smb/client/dns_resolve.c: dns_resolve_server_name_to_ip: unc is IP, skipping dns upcall: <server C IP0> [ 535.926774] CIFS: fs/smb/client/connect.c: __cifs_reconnect: reconn_set_ipaddr_from_hostname: rc=0 [ 535.926779] CIFS: fs/smb/client/connect.c: generic_ip_connect: connecting to <server C IP0>:445 [ 535.926801] CIFS: fs/smb/client/connect.c: Socket created [ 535.926804] CIFS: fs/smb/client/connect.c: sndbuf 16384 rcvbuf 131072 rcvtimeo 0x1b58 [ 537.462810] CIFS: fs/smb/client/dns_resolve.c: dns_resolve_server_name_to_ip: probably server name is whole unc: \\<server name B> [ 537.467367] CIFS: fs/smb/client/dns_resolve.c: dns_resolve_server_name_to_ip: unable to resolve: <server name B> [ 537.467378] CIFS: fs/smb/client/connect.c: reconn_set_ipaddr_from_hostname: failed to resolve server part of <server name B> to IP: -4 [ 537.467384] CIFS: fs/smb/client/connect.c: __reconnect_target_unlocked: reconn_set_ipaddr_from_hostname: rc=-4 [ 537.467388] CIFS: fs/smb/client/connect.c: generic_ip_connect: connecting to <server B IP0>:445 [ 537.467406] CIFS: fs/smb/client/connect.c: Socket created [ 537.467409] CIFS: fs/smb/client/connect.c: sndbuf 16384 rcvbuf 131072 rcvtimeo 0x1b58 [ 538.486785] CIFS: fs/smb/client/dns_resolve.c: dns_resolve_server_name_to_ip: probably server name is whole unc: \\<server name B> [ 538.491197] CIFS: fs/smb/client/dns_resolve.c: dns_resolve_server_name_to_ip: unable to resolve: <server name B> [ 538.491207] CIFS: fs/smb/client/connect.c: reconn_set_ipaddr_from_hostname: failed to resolve server part of <server name B> to IP: -4 [ 538.491213] CIFS: fs/smb/client/connect.c: __reconnect_target_unlocked: reconn_set_ipaddr_from_hostname: rc=-4 [ 538.491217] CIFS: fs/smb/client/connect.c: generic_ip_connect: connecting to <server B IP1>:445 Closing the bug report since I am not able to reproduce it reliably any more. |