From owner-freebsd-current@FreeBSD.ORG Tue Apr 17 15:17:47 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA58116A410; Tue, 17 Apr 2007 15:17:47 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 41DF913C4C5; Tue, 17 Apr 2007 15:17:46 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 92C82456B1; Tue, 17 Apr 2007 17:17:45 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 46A6E45683; Tue, 17 Apr 2007 17:17:38 +0200 (CEST) Date: Tue, 17 Apr 2007 17:17:22 +0200 From: Pawel Jakub Dawidek To: Hidetoshi Shimokawa Message-ID: <20070417151722.GC4875@garage.freebsd.pl> References: <57200BF94E69E54880C9BB1AF714BBCBB521@w2003s01.double-l.local> <20070416094918.GC1068@garage.freebsd.pl> <46234D8E.8020501@yandex.ru> <20070416102623.GF1068@garage.freebsd.pl> <626eb4530704161851u74ba452am73bd8891b7b59e7f@mail.gmail.com> <20070417095631.GB4875@garage.freebsd.pl> <626eb4530704170802t7a797961q16aa039251af10ea@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KDt/GgjP6HVcx58l" Content-Disposition: inline In-Reply-To: <626eb4530704170802t7a797961q16aa039251af10ea@mail.gmail.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: Johan Hendriks , "Andrey V. Elsukov" , freebsd-current@freebsd.org Subject: Re: ls -al .zfs/snapshots dir reboots machine X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 15:17:47 -0000 --KDt/GgjP6HVcx58l Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 18, 2007 at 12:02:06AM +0900, Hidetoshi Shimokawa wrote: > On 4/17/07, Pawel Jakub Dawidek wrote: > >There is dnlc_purge_vfsp() at the begining of zfs_umount(), which should > >be sufficient. >=20 > domount() of opensolaris also has dnlc_purge_vp() to invalidate cached > entry for the mount point. Do you really think it's unnecessary? >=20 > http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/= fs/vfs.c#1383 I'm sorry, I misunderstood, I was sure you were talking about dnlc_purge_vfs() in dounmount() (which is in OpenSolaris). Can you try adding it and see if that helps? This may be it... --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --KDt/GgjP6HVcx58l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGJOUCForvXbEpPzQRAq9FAKD2Rx6iE7BqA2PERQ1WTXEp5A8ZjACdGdFd w0pF5nPqXv5iSn2S0cAB8/I= =Ro28 -----END PGP SIGNATURE----- --KDt/GgjP6HVcx58l--