I am using this patch to fix the specific problem with rename()
which looks like a clear bug no matter what the cache behaviour.
In trivial tests, Git has started behaving after this. I haven't
stress tested it to see if other cache consistency issues still
cause problems.
This patch doesn't fix cache consistency in general, and it doesn't
address other changes from vmhgfs such as less control over file
permissions than before.
If it's going to use a fixed cache timeouts without checking,
it should probably do what NFS does: close-to-open consistency
and unlock-to-lock consistency, which applications have
historically been ok with.
--- open-vm-tools-10.0.7-3227872/vmhgfs-fuse/main.c~ 2016-02-16
20:06:49.000000000 +0000
+++ open-vm-tools-10.0.7-3227872/vmhgfs-fuse/main.c 2016-05-09
05:56:59.423936135 +0100
@@ -622,6 +622,7 @@ hgfs_rename(const char *from, //IN: fro
res = HgfsRename(absfrom, absto);
HgfsInvalidateAttrCache(absfrom);
+ HgfsInvalidateAttrCache(absto);
exit:
LOG(4, ("Exit(%d)\n", res));
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1579544
Title:
vmhgfs-fuse inconsistencies cause Git index corruption and Bus Error
crashes; older vmhgfs was fine
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1579544/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs