I’m experiencing serious issues with git repos that are mounted in seadrive.
Attempting a git commit on an existing repo deadlocks.
Running with tracing shows a deadlock at openat(".git/COMMIT_EDITMSG", O_WRONLY|O_CREAT|O_TRUNC). The git process enters an uninterruptible D-state waiting for a FUSE reply which unfortunately it appears SeaDrive never sends. It seems there’s some kind of internal deadlock inside SeaDrive when touching these .git/COMMIT_EDITMSG files.
Even if we ignore the deadlock, it’s not a good idea to try and sync a .git folder.
It would be great if either:
- You could have a user-configurable ignore list, like
.gitignoreorseafile-ignore.txt - Alternatively, there are already ignore patterns hard-coded in sync-mgr.c. I suggest adding
.gitto that hard-coded list (ignore_table). It would be a one line change.