Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2020 18:57:06 +0200
From:      Mateusz Guzik <mjguzik@gmail.com>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r366071 - in head/sys: contrib/openzfs/module/os/freebsd/zfs kern sys
Message-ID:  <CAGudoHGhn7pdz7WvFUtVj9NHrdabG0XwoiVroHC6Zt5nHS9g3Q@mail.gmail.com>
In-Reply-To: <20200923164429.GI2570@kib.kiev.ua>
References:  <202009231046.08NAk7oW012157@repo.freebsd.org> <20200923164429.GI2570@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/23/20, Konstantin Belousov <kostikbel@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGudoHGhn7pdz7WvFUtVj9NHrdabG0XwoiVroHC6Zt5nHS9g3Q>