Excessive SMB calls on file selection for cifs mounts
Affected version
- Nightly flatpak: Can't test it because "The application org.gnome.NautilusDevel/x86_64/master requires the runtime org.gnome.Platform/x86_64/master which was not found"
- Using Fedora 34, GNOME40
Steps to reproduce
- I see these issues only with a remote server + VPN-connection
- Connect to smb://somewindowsserver/test
- Create cifs mount with systemd for example
[Mount]
What=//somewindowsserver/test
Where=/mnt/server
Options=credentials=/home/test/.smbcreddatpool,vers=3.11,rw,noperm
Type=cifs
- start systemd mount
Current behavior
- Browsing with nautilus through the remote SMB-Directory (~100Mbit, ~30-50ms delay) with cifs mount:
- Every click on an item (folder or file) results in a
SMB2_FILE_ALL_INFO
(observed with wireshark) for the clicked item and parent folders. - From time to time it can happen that a double click on a folder is not "registered".
- Folders with a lot of subfolders are entered very slow (roughly 10 seconds for 100 subfolders)
- file copy is fast
- Every click on an item (folder or file) results in a
- Browsing with the gvfs share
- Compared to the cifs mount, you can move relatively quickly in the directory tree and a single click does not lead to "SMB2_FILE_ALL_INFO". The problem with the missing double click does not occur on a gvfs share.
- file copy is slow
- Terminal usage
-
ls
is quite fast with cifs mount -
ls
inside a gvfs mount is slow
-
Additional information
Unfortunately some applications are not usable with the gvfs share.
Edited by Peter Eisenmann