-
Notifications
You must be signed in to change notification settings - Fork 2.6k
When fscache is used, "Function not implemented" messages are shown after 2.20 #1989
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
Comments
Obviously, I cannot reproduce, otherwise I would not have released Git for Windows v2.20.1 in the current form. I cloned all 90+ megabytes of your MCVE (not very "minimal", I must say), and a
It would be good if you could verify that a fresh clone of said repository reproduces the issue for you, and if it does not, work on making that MCVE complete. |
@dscho Yes, this was not "minimal" report. Sorry... |
I have the same or similar issue. It seems to only affect repositories on network drives. I was able to reproduce on any repo I copied from my local drive to a network drive. Even a simple, newly created repo with one file named test.txt had the same problem. Here is the output from that repo.
Disabling the fscache, reverting to 2.19.1 or moving the repo to the local drive fixes the problem. I see there were changes to the caching in 2.19.2 and 20.0.0. Even tough it was reverted to pre-release, I can try out 2.19.2 when I am back at work to try to narrow things down. I am running git from cmd/powershell, not bash. Win7 x64. Servers are all under I.T. control, but I can try to find out what they are running. If there is anything else I can do to gather more info, just let me know and I will give it try. |
aaaaand this was closed as I was typing. If you want me to open a new issue, let me know and I will do so. |
@dscho Sorry again. I forget disabling fscache.
@dozius thanks for comment. |
Confirmed the issue is not present in 2.19.2. I would guess the change that broke things was part of #1937. I had a quick peak and perhaps it has something to do with the handle being passed to NtQueryDirectoryFile being created with CreateFile instead of NtCreateFile as the documentation suggests. I'm no expert on win internals, but I know the public API handles a lot of path ugliness for you before it's passed to the internals. I wouldn't be surprised if something special for UNC paths was missed. |
This issue affects me too. See here for details: |
The obvious workaround is to set The real fix(es) will have to wait until somebody with enough energy and knowledge will get the time to investigate this. |
This is indeed the very culprit, and the fix would be to (partially) reinstate the previous version when the current version fails. |
Turning fscache off is way too slow in my case. I've reverted to the previous release to keep going, which is fine for now. @benpeart, when you have some time could you look into this? |
Yes @dozius, I'll look into how to get fscache working better with network drives. Thanks for letting me know about the issue. |
I cannot reproduce the issue, but then, it seems that all of the reporters run one form of Windows 7 or another, and I run Windows 10 (1809)... |
My bad, this report is not actually about Windows 7 (I always get confused by the leading |
@dscho I'm not sure if your earlier confusion is resolved or not. Just in case, I thought I'd mention that I am running Windows 10, and can reproduce the issue.
|
@chrisrapson in the meantime, we figured out a bit more: it appears that not only the client version, but also the server version plays a role. So if your Would you be able to test whether ad72b248f06d57e94bb1e6620544090a411fbcba fixes it for you, too? |
Closed via #2044 |
FSCache works again [on network drives](git-for-windows/git#2022), in particular [when Windows 8.1 or older](git-for-windows/git#1989) are involved. Signed-off-by: Johannes Schindelin <[email protected]>
A new snapshot is available that should fix this issue. Could I ask y'all to please test? |
I will give this a shot tomorrow and report back. Thanks! |
I can confirm that the snapshot worked for me. Now |
Thanks for testing! |
I can confirm this resolves the issue for me as well. Thanks to everyone
involved!
|
I've tried on my repository with fscache is true and false, everthing works fine. |
I can confirm the snapshot (https://wingit.blob.core.windows.net/files/index.html) fixes the issue for me. Note that the fix is not part of release 2.20.1, but is part of release v2.21.0-rc0.windows.1 Thanks for all your hard work ! |
Setup
defaults?
to the issue you're seeing?
The drive which stores repository data seems to be remote disk.
(I'm not Administrator and cannot know real hardware)
On other machine which have local disk, this issue seems not to show for me.
Therefore, this issue may depend what disk type is, I think.
Details
CMD
Minimal, Complete, and Verifiable example
this will help us understand the issue.
without error messages
After 2.20, many "Function not implemented" messages are shown only under
caffe2/operators
directory in PyTorch repository.If I disable fscahe, these messages are not shown.
URL to that repository to help us with testing?
I found these repository and not found other repositories that this issue occurs.
The text was updated successfully, but these errors were encountered: