HomeFreeBSD

fusefs: fix multiple issues with the io tests

Description

fusefs: fix multiple issues with the io tests

  • During TearDown, close the test file before the backing file. That way the backing file artifact will have the correct contents after the test completes. It doesn't matter when running in Kyua, but it may when running the test manually.
  • Add a closeopen operation that mimics what FSX does with the "-c" option.
  • Skip mmap-related tests when vfs.fusefs.data_cache_mode == 0

Sponsored by: The FreeBSD Foundation

Details

Provenance
asomersAuthored on Jun 25 2019, 4:49 PM
Parents
rG1734e205f38e: fusefs: refine the short read fix from r349332
Branches
Unknown
Tags
Unknown

Event Timeline