HomeFreeBSD

vfs: don't provoke recycling non-free vnodes without a good reason

Description

vfs: don't provoke recycling non-free vnodes without a good reason

If the total number of free vnodes is at or above target, there is no
point creating more of them.

Tested by: pho (in a bigger patch)

(cherry picked from commit 8733bc277a383cf59f38a83956f4f523869cfc90)

Details

Provenance
mjgAuthored on Sep 14 2023, 4:13 PM
Parents
rG4cadd75a3b0d: vfs cache: denote a known bug in cache_remove_cnp
Branches
Unknown
Tags
Unknown