From owner-freebsd-stable@FreeBSD.ORG Wed Dec 5 03:42:17 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 065A516A417 for ; Wed, 5 Dec 2007 03:42:17 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id DE59513C4D5 for ; Wed, 5 Dec 2007 03:42:16 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id C7ABE1CC079; Tue, 4 Dec 2007 19:42:16 -0800 (PST) Date: Tue, 4 Dec 2007 19:42:16 -0800 From: Jeremy Chadwick To: Jonathan Stewart Message-ID: <20071205034216.GA24453@eos.sc1.parodius.com> References: <47506208.3030100@kc8onw.net> <20071201005222.GA64295@eos.sc1.parodius.com> <4750B8AA.6090707@kc8onw.net> <20071201013307.GA65211@eos.sc1.parodius.com> <475608A9.8010304@kc8onw.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <475608A9.8010304@kc8onw.net> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: julian@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Missing files in listing when sharing ZFS directory over Samba X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2007 03:42:17 -0000 On Wed, Dec 05, 2007 at 05:10:49AM +0300, Jonathan Stewart wrote: > I don't know what the difference might be but I did some digging and > found https://bugzilla.samba.org/show_bug.cgi?id=4715#c25 Interestingly enough, there's already been a statement from Terry Lambert about the problem, and it's documented in comment 22: https://bugzilla.samba.org/show_bug.cgi?id=4715#c22 Additionally, the bug seems to imply that a future release of Samba will simply disable the entire BSD-specific workaround, addressing the issue of missing files -- but will have a tremendous impact on performance when it comes to directories with many files. In general, I really don't like the direction that bug is going. By that I mean, it gives me the impression that there's a ton of OS-specific code within the daemon, and the solution for them may be to add *another* layer of abstraction (by detecting the specific filesystem used on a share, and using different code per filesystem). I think this is bad. Julian, has there been any progress to resolve this outside of what's shown in the bug? I see your name mentioned in comment #6... :-) -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |