Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 354 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 354 Bytes

File locking stress tester

touch lock
cargo r & cargo r

If that crashes, something about your filesystem's flock implementation is broken.

If you ctrl+c or otherwise kill one of the stress-tester processes, it may release the lock while the test file still exists, causing the other tester to crash. That does not indicate a flock problem.