Date: Tue, 17 Apr 2007 17:17:22 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Hidetoshi Shimokawa <simokawa@FreeBSD.ORG> Cc: Johan Hendriks <Johan@double-l.nl>, "Andrey V. Elsukov" <bu7cher@yandex.ru>, freebsd-current@freebsd.org Subject: Re: ls -al .zfs/snapshots dir reboots machine Message-ID: <20070417151722.GC4875@garage.freebsd.pl> In-Reply-To: <626eb4530704170802t7a797961q16aa039251af10ea@mail.gmail.com> 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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Wed, Apr 18, 2007 at 12:02:06AM +0900, Hidetoshi Shimokawa wrote: > On 4/17/07, Pawel Jakub Dawidek <pjd@freebsd.org> wrote: > >There is dnlc_purge_vfsp() at the begining of zfs_umount(), which should > >be sufficient. > > domount() of opensolaris also has dnlc_purge_vp() to invalidate cached > entry for the mount point. Do you really think it's unnecessary? > > 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... -- Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGJOUCForvXbEpPzQRAq9FAKD2Rx6iE7BqA2PERQ1WTXEp5A8ZjACdGdFd w0pF5nPqXv5iSn2S0cAB8/I= =Ro28 -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070417151722.GC4875>
