From owner-freebsd-fs@FreeBSD.ORG Mon Jun 11 10:30:17 2012 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DF4F106564A; Mon, 11 Jun 2012 10:30:17 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 288B98FC1A; Mon, 11 Jun 2012 10:30:15 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id NAA26706; Mon, 11 Jun 2012 13:30:14 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Se1t0-00039Z-81; Mon, 11 Jun 2012 13:30:14 +0300 Message-ID: <4FD5C8B5.2070802@FreeBSD.org> Date: Mon, 11 Jun 2012 13:30:13 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120503 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-fs@FreeBSD.org References: <9A54A14B-7DA4-48AD-8198-63A8572D3DB3@patpro.net> <4FD5743D.4030002@FreeBSD.org> In-Reply-To: <4FD5743D.4030002@FreeBSD.org> X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Pawel Jakub Dawidek , Matthew Seaman , patpro@patpro.net Subject: Re: [zfs] need help with a bug (PR 156781) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2012 10:30:17 -0000 I can observer a similar problem where I can not list .zfs directory under filesystems which do not have any snapshots. I can not tell if the problem happens when all snapshots are removed or if it only happens if a filesystem doesn't have any snapshots when ZFS is initialized (a system is booted). I am not sure what's going on but a quick check with DTrace points to negative caching as a culprit. I see that cache_lookup() returns ENOENT for .zfs. -- Andriy Gapon