Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: SMB servers load problem #16812

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

KFlab
Copy link

@KFlab KFlab commented Feb 15, 2025

Resolved / Related Issues

#12704
I'm not pro in c_sh,
This is only a temporary solution.
Because my work relies heavily on various mapped network drives,
Till now, this patch work for me.

Steps used to test these changes

1) Enter an smb that has been mapped as a network drive like "Y:\Download"
2)enter the directory containing a large number of large compressed files and wait for them to be lod.
3) Observe whether the loading speed is the same with "\192.168.0.1\nfs\Download"

ps:
The root cause may be the reading of the zip file,
Although it has not been tested, this is just a guess. Will huge files on slow devices have similar phenomena?
I also think that the compressed file recognition problem I mentioned in #12704 may aggravate this phenomenon.
Additionally, I would suggest that the file system type detection could be more unified into one function, rather than being everywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants