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)
Wed, Oct 7, 11:45 PM
Unknown Object (File)
Wed, Oct 7, 12:33 AM
Unknown Object (File)
Sun, Oct 4, 1:59 PM
Unknown Object (File)
Thu, Oct 1, 10:05 PM
Unknown Object (File)
Thu, Oct 1, 4:56 PM
Unknown Object (File)
Tue, Sep 29, 4:58 PM
Unknown Object (File)
Tue, Sep 29, 3:21 PM
Unknown Object (File)
Mon, Sep 28, 10:01 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