HomeFreeBSD

cache: reimplement purgevfs to iterate vnodes instead of the entire hash

Description

cache: reimplement purgevfs to iterate vnodes instead of the entire hash

The entire cache scan was a leftover from the old implementation.

It is incredibly wasteful in presence of several mount points and does not
win much even for single ones.

Details

Provenance
mjgAuthored on
Parents
rS366069: cache: clean up atomic ops on numneg and numcache
Branches
Unknown
Tags
Unknown