]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cache: reimplement purgevfs to iterate vnodes instead of the entire hash
authormjg <mjg@FreeBSD.org>
Wed, 23 Sep 2020 10:44:49 +0000 (10:44 +0000)
committermjg <mjg@FreeBSD.org>
Wed, 23 Sep 2020 10:44:49 +0000 (10:44 +0000)
commite950c43a281aca2fae57203f28eabc581b9e2226
tree27efb2f39dce8139f95c864d9b8cc67352f2d165
parent75995d7174183ca8967a47c3e8a2360b7699c773
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.
sys/kern/vfs_cache.c