Page MenuHomeFreeBSD

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

Authored by kib on Tue, Aug 4, 6:37 AM.
Tags
None
Referenced Files
F169221836: D58637.diff
Mon, Aug 31, 10:27 PM
Unknown Object (File)
Sat, Aug 29, 5:39 PM
Unknown Object (File)
Thu, Aug 27, 7:04 PM
Unknown Object (File)
Thu, Aug 27, 7:01 PM
Unknown Object (File)
Thu, Aug 27, 4:06 AM
Unknown Object (File)
Wed, Aug 26, 5:01 PM
Unknown Object (File)
Wed, Aug 26, 5:00 PM
Unknown Object (File)
Wed, Aug 26, 6:49 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.Tue, Aug 4, 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.Thu, Aug 6, 7:30 AM