btrfs
btrfs copied to clipboard
Filesystem/Folder is being used by another process. (Java language server partially takes down the filesystem)
Hi there, thanks for the work you've done on this project.
I'm increasingly using a BTRFS partition store my files. I've played games from it, recorded to it, and compiled C++ programs on it. Generally works well.
Recently I've tried to work with Java but it seems like the VSCode Java Language server has the very consistent ability to take down the filesystem after a couple of minutes of work. I don't have to do anything specific - just leave VSC open with the java server ready. Project isn't particularly large - 8 files with a maven build environment.
The behaviour it exhibits is inconsistent, taking down specific files and folders:
- Sometimes the root
B:/
is inaccessible ("File is being used by another process"), while its subdirectoriesB:/Documents/
work fine if I cd into them. (When this happens, "Btrfs Properties" goes missing from the explorer context menu). - Other times a source file or
.class
file becomes unreadable or unwritable, or a random folder along the path does.
Only fix is a full restart. I've tried just closing vscode/java/git but no success. No (known) corruption afterwards, just a minute or two of lost information. No bsod. No spike in CPU/Disk usage either.
Using Win10 19045.4412, cpu i5-8250U, SSD partitioned with NTFS (boot/page) and BTRFS.
Happy to provide more details if needed. Busy at the moment so it might take me a while to respond.