How exactly to run the fusefs tests?
Details
Details
- Reviewers
markj lwhsu - Commits
- rGe1f4d623779d: rangelocks: remove unneeded cast of the atomic_load_ptr() result
rG5378962154e0: rangelocks: re-enable cheat mode
rG4e1f29b92dc5: kern_copy_file_range(): handle rangelock recursion
rG0b6b1c285920: Add rangelock_may_recurse(9)
rG75447afca868: rangelocks: extract the cheat mode drain code
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
The fusefs tests are still failing with this change. :-(
To run fusefs tests:
kldload fusefs.ko cd /usr/tests/sys/fs/fusefs
then
kyua test
or execute each group directly:
./copy_file_range
Source codes are at src/tests/sys/fs/fusefs.
Comment Actions
Actually switch to non-cheating mode in rangelock_may_recurse().
With this update, copy_file_range() test does not hang for me. OTOH, I see write test timing out, but no hanging or unkillable processes are left. It might be due to my machine having real hw serial console which is slow, and fusefs tests are quite chatty.
Could you please confirm whether updated patch works for you?
sys/kern/kern_rangelock.c | ||
---|---|---|
783 | Should we restart this loop if the cmpset fails? |