From owner-freebsd-current@FreeBSD.ORG Sat Jul 21 22:58:25 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABD0816A420; Sat, 21 Jul 2007 22:58:25 +0000 (UTC) (envelope-from timur@com.bat.ru) Received: from mail.bat.ru (dzokonda.xs4all.nl [194.109.164.75]) by mx1.freebsd.org (Postfix) with ESMTP id 08EFE13C46A; Sat, 21 Jul 2007 22:58:24 +0000 (UTC) (envelope-from timur@com.bat.ru) Received: from timur.home.bat.ru ([192.168.0.4] verified) by mail.bat.ru (CommuniGate Pro SMTP 4.2.7) with ESMTP-TLS id 493406; Sun, 22 Jul 2007 00:00:06 +0200 Received: (from timur@localhost) by timur.home.bat.ru (8.14.1/8.14.1/Submit) id l6LLwNWs016650; Sat, 21 Jul 2007 23:58:23 +0200 (CEST) (envelope-from timur) Date: Sat, 21 Jul 2007 23:58:23 +0200 From: "Timur I. Bakeyev" To: Joe Marcus Clarke Message-ID: <20070721215822.GA1874@com.bat.ru> References: <46633B27.50601@dva.dyndns.org> <1c5c32890707031732s195a97c3vd29fb46323f28fae@mail.gmail.com> <46644820.6020609@dva.dyndns.org> <1c5c32890707041057x75712a20vef9800a7ddef7a6a@mail.gmail.com> <1183674495.75595.14.camel@worf> <1c5c32890707051739t6621e2d4ude73ce5d096ea72e@mail.gmail.com> <1183698637.55166.58.camel@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline In-Reply-To: <1183698637.55166.58.camel@shumai.marcuscom.com> User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: Andrew Tridgell , current , Brian Donnell , "Boris S." , Pascal Hofstee Subject: Re: ZFS vs Samba Debugging Results ... Need Help. 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: Sat, 21 Jul 2007 22:58:25 -0000 --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, guys! You could avoid spending time on debugging this issue, if you'd ask maintainer of the Samba port. Well, somehow it didn't look obvious :)? On Fri, Jul 06, 2007 at 01:10:37AM -0400, Joe Marcus Clarke wrote: > On Thu, 2007-07-05 at 20:39 -0400, Brian Donnell wrote: > >=20 > > And now it works. Just get rid of the offending functions. I've had no > > problems reading or writing files of large and small size in directories > > with only a couple files or a couple hundred. It was so simple it make= s me > > think something is still very wrong. But I'm having no problems now. This is an old standing problem, came as a workaround for some assumptions about the opendir/telldir/seekdir behaviour in the POSIX systems, which made Andrew to write this workaround. Unfortunatelly, it works only on UFS[2] and breaks the things i ZFS, MSDOSFS, ISOFS, UNIONFS, UDF - name them all. I recall an old conversation between PHK and Andrew, when that issue was discussed, together with the workaround, but, seems can't find in in the archives. Anyhow, feel free to add your comments to the: https://bugzilla.samba.org/show_bug.cgi?id=3D4715 There are also similar ports/109160, ports/113158 and few others. Poul, Andrew - can you join this discussion and help us to resort this problem in the best way for the Samba and FreeBSD projects? With best regards, Timur Bakeyev. --/04w6evG8XlLl3ft Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGooF+C/BkEmC6H0cRAnVgAJ9ARFkgLXuUptWtk2UxfjKrTQ1iqgCg0Kia GJvzrPp2kwhahZ5Kebzid6A= =JSK3 -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft--