HomeFreeBSD

fusefs: Fix further intermittency in the BadServer.ShortWrite test case

Description

fusefs: Fix further intermittency in the BadServer.ShortWrite test case

After being unmounted, the mockfs server would occasionally read from
/dev/fuse again, if the main function didn't exit fast enough, getting
an ENODEV error. Handle that appropriately.

Reported by: Siva Mahadevan <me@svmhdvn.name>
Fixes: d86025c1d49c84c4dc8c3635c83c078ad56e5a53
Reviewed by: Siva Mahadevan <me@svmhdvn.name>
Differential Revision: https://reviews.freebsd.org/D54331

(cherry picked from commit f51e9d0e0988df58c94db586ab5c8b5fd091c004)

Details

Provenance
asomersAuthored on Dec 21 2025, 3:32 PM
Reviewer
siva
Differential Revision
D54331: fusefs: Fix further intermittency in the BadServer.ShortWrite test case
Parents
rG3b44f04225bc: gpart: "gpart --libxo:JP list" duplicates attribute keys
Branches
Unknown
Tags
Unknown