Page MenuHomeFreeBSD

fusefs: Fix intermittency in the BadServer.ShortWrite test case
Needs ReviewPublic

Authored by asomers on Sun, Oct 26, 12:48 AM.
Tags
None
Referenced Files
F133562101: D53357.id.diff
Sun, Oct 26, 4:34 PM
F133548684: D53357.diff
Sun, Oct 26, 2:17 PM
F133531917: D53357.diff
Sun, Oct 26, 11:21 AM
F133529327: D53357.id165039.diff
Sun, Oct 26, 10:53 AM
F133524028: D53357.diff
Sun, Oct 26, 9:56 AM
Subscribers

Details

Reviewers
guest-svmhdvn
Summary

We were using the m_quit bit for two similar but distinct uses:

  • To instruct the server to quit
  • To cope with the kernel forcibly unmounting the fs

Fix the intermittent test failure by adding a separate bit,
m_expect_unmount, to handle cases like the latter.

Reported by: Siva Mahadevan <me@svmhdvn.name>
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 68121
Build 65004: arc lint + arc unit