On 9/23/20, Konstantin Belousov <kostik...@gmail.com> wrote: > On Wed, Sep 23, 2020 at 10:46:07AM +0000, Mateusz Guzik wrote: >> Author: mjg >> Date: Wed Sep 23 10:46:07 2020 >> New Revision: 366071 >> URL: https://svnweb.freebsd.org/changeset/base/366071 >> >> Log: >> cache: drop the force flag from purgevfs >> >> The optional scan is wasteful, thus it is removed altogether from >> unmount. >> >> Callers which always want it anyway remain unaffected. >> > Is there any checker for debugging kernels, that no cache entries are > left after unmount ? >
It is provided indirectly. It is asserted no vnodes are associated with the mount point by the end of unmount, dooming purges entries from the namecache and it is an invariant that doomed vnodes don't gain new entries. -- Mateusz Guzik <mjguzik gmail.com> _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"