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
Speed up mount operation by putting winfsp network provider at the he… #131
Conversation
…ad of network providers
Thanks for the PR. Currently on vacation and unable to check it. Will test it on or after 2017-1-3. |
I finally had the chance to look at this. I believe this should be accepted with a few changes.
I also have a few comments:
|
Hi @billziss-gh, I have added the FSP_NP_ORDER_FIRST macro and related changes.
Nope. This was probably some confusion I had. Fact is however, that there are at least 2 different issues: The initial mount delay (fixed by this PR) and the secondary delay (approx 20sec) in explorer which occurs under the following conditions:
I was not able to reproduce the secondary delay programmatically or on the cmdline (like running attr .. for example). It happens only in explorer here. (Experience reliably on Win8.1/x64 as well as Win7/x86 with fuse-based code - did not test native FSP like memfs) Cheers |
Fritz, thank you for your work. I will test and merge this in later tonight or tomorrow. |
BTW: Thanks |
I have accepted your PR. Thank you again for your quality work!
I will do so. I need to finish off a few other changes related to the launcher that I have in the works. I am hoping to have a new beta for you available by the weekend. |
As per your request I have released WinFsp 2018.1 B1. Let me know if this works for you. |
It works nicely. I have tested the new WorkDir registry value, the WiX-Depends feature and verified the provider order. The initial delay during mount is gone :-) Cheers |
Hi @billziss-gh ,
This PR partially fixes #87 (which I'm experiencing as well).
The initial delay when mapping a network drive is gone with this fix.
In #87, you already mentioned putting the winfsp network provider entry at the beginning of the provider order instead of appending it. This PR does exactly that.
The other delays are unrelated (#87 actually is about two (or even more) different issues)
Tested on Win8.1
Cheers
-Fritz
Before submitting this PR please review this checklist. Ideally all checkmarks should be checked upon submitting. (Use an x inside square brackets like so: [x])