HomeFreeBSD

vfs: batch free vnodes in per-mnt lists

Description

vfs: batch free vnodes in per-mnt lists

Previously free vnodes would always by directly returned to the global
LRU list. With this change up to mnt_free_list_batch vnodes are collected
first.

syncer runs always return the batch regardless of its size.

While vnodes on per-mnt lists are not counted as free, they can be
returned in case of vnode shortage.

Reviewed by: kib
Tested by: pho

Details

Provenance
mjgAuthored on
Reviewer
kib
Parents
rS306511: Fix a typo in CPSW_DEBUG MACRO and then replace all the CPSWP_DEBUG() calls
Branches
Unknown
Tags
Unknown