HomeFreeBSD

nullfs: fix unmounts when filesystem is active.

Description

nullfs: fix unmounts when filesystem is active.

If vflush() did not completely flushed the mount vnodes queue, either
retry for forced unmounts, or give up for non-forced. This situation
can occur when new vnodes are instantiated while vflush() worked.

Reported and tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS345375: MFC r345130,r345184: trim(8): add another safety net and more user-friendly
Branches
Unknown
Tags
Unknown