Open gitcnd opened 3 days ago
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
p.s. works fine in native linux using zfs, and also using xfs, and also using ext4.
Windows Version
Microsoft Windows [Version 10.0.17763.6293]
WSL Version
0.0.0.0
Are you using WSL 1 or WSL 2?
Kernel Version
Linux version 4.4.0-17763-Microsoft (Microsoft@Microsoft.com) (gcc version 5.4.0 (GCC) ) #2268-Microsoft Thu Oct 07 16:36:00 PST 2021
Distro Version
Ubuntu 20.04
Other Software
n/a
Repro Steps
Run this in Ubuntu:
for FN in {1..40};do perl perlshared.pl & done
If the lock file is in the lxfs file system, the answer in green is wrong (not 0) and multiple "Cannot truncate file: Invalid argument" errors appear
If the lock file is elsewhere (e.g. the window C: drive) it works (and is also 10 or more times faster than above)
`
Expected Behavior
Should work the same regardless of the file system the lockfile is placed onto.
Actual Behavior
Fails when the lxfs is used.
Diagnostic Logs
No response