News for hackers. Stuff that matters.
Re:Microsoft submits Linux kernel patches to enable complete... by tremon on Wednesday September 16, 2020 @07:50AM (#24491693)
The filesystem integration is not without flaws though, it doesn't seem to implement full posix semantics.

Many times in WSL2 I've had a git rebase fail because it couldn't overwrite existing files, and every time it could be fixed by just running git rebase --continue. The actual problem seems to be that WSL2 system calls return before the NTFS operation completes, so quick successions of create-after-unlink or write-after-rename can have unexpected results.

For this reason I still keep a WSL1 environment, it doesn't have the same issues (and doesn't appear to be any slower for filesystem operations).

Re:Microsoft submits Linux kernel patches to enable complete... by Filligree on Wednesday September 16, 2020 @09:11AM (#24492347)
> For this reason I still keep a WSL1 environment, it doesn't have the same issues (and doesn't appear to be any slower for filesystem operations).

It's definitely a great deal slower for filesystem operations inside the Linux system. Filesystem operations outside the VM's disk image go through 9p, which gives you basically the same performance for both.