Page MenuHomeFreeBSD

autofs: try to avoid waiting for timeouts of in-flight requests for forced unmounts
ClosedPublic

Authored by kib on Aug 4 2026, 6:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Sep 7, 7:12 AM
Unknown Object (File)
Fri, Sep 4, 8:22 AM
Unknown Object (File)
Fri, Sep 4, 4:20 AM
Unknown Object (File)
Thu, Sep 3, 8:41 AM
Unknown Object (File)
Thu, Sep 3, 8:28 AM
Unknown Object (File)
Wed, Sep 2, 9:40 PM
Unknown Object (File)
Wed, Sep 2, 9:04 AM
Unknown Object (File)
Wed, Sep 2, 8:32 AM
Subscribers

Details

Summary
Do the advisory aborts of the in-flight requests before flushing the
vnodes.  It should mostly eliminate the waits due to requests busying
the mp.

Reported by:    rew

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Aug 4 2026, 6:37 AM

this doesn't address the behavior I observed on my test but I can see that this is worth doing still

it seems the waits I was experiencing is when the autofs request had failed..the request is deallocated, and then autofs retries the request according to an_retries

the following patch: https://reviews.freebsd.org/D58691 seems to address the waits I observed

This revision is now accepted and ready to land.Aug 6 2026, 7:30 AM