From owner-freebsd-fs@FreeBSD.ORG Sun Nov 4 19:50:56 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E8A2F3A8 for ; Sun, 4 Nov 2012 19:50:56 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vps.rulingia.com (host-122-100-2-194.octopus.com.au [122.100.2.194]) by mx1.freebsd.org (Postfix) with ESMTP id 5D16C8FC17 for ; Sun, 4 Nov 2012 19:50:55 +0000 (UTC) Received: from server.rulingia.com (c220-239-241-202.belrs5.nsw.optusnet.com.au [220.239.241.202]) by vps.rulingia.com (8.14.5/8.14.5) with ESMTP id qA4Joljj091588 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 5 Nov 2012 06:50:47 +1100 (EST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.14.5/8.14.5) with ESMTP id qA4JoffJ030606 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Nov 2012 06:50:41 +1100 (EST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.14.5/8.14.5/Submit) id qA4Jofnw030605; Mon, 5 Nov 2012 06:50:41 +1100 (EST) (envelope-from peter) Date: Mon, 5 Nov 2012 06:50:41 +1100 From: Peter Jeremy To: Garrett Cooper Subject: Re: Inconsistent/potentially incorrect behavior with relative lookups via chdir(2) on UFS/ZFS Message-ID: <20121104195041.GE12996@server.rulingia.com> References: <20121103103849.GD12996@server.rulingia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lCAWRPmW1mITcIfM" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD FS X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2012 19:50:57 -0000 --lCAWRPmW1mITcIfM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2012-Nov-03 13:56:04 -0700, Garrett Cooper wrote: >On Sat, Nov 3, 2012 at 3:38 AM, Peter Jeremy wrote: >> Whilst playing with the above, I've found some wierd timing issues >> with UFS+SU: >> >> $ mkdir -p ~/p/q/r;sync >> $ cd p/q/r >> $ rm -r ~/p; while date; do sleep 3 ; ls -al;done >> Sat 3 Nov 2012 21:29:19 EST >> total 2 >> drwxr-xr-x 0 peter jeremy 512 3 Nov 21:28 . >> drwxr-xr-x 0 peter jeremy 0 3 Nov 21:29 .. >> Sat 3 Nov 2012 21:29:22 EST =2E.. >> Sat 3 Nov 2012 21:29:46 EST >> total 0 >> Sat 3 Nov 2012 21:29:49 EST >> > > Interesting; with SU-J or SUJ (my testing was with the default: SUJ)? This was on 8.3 with no journalling. I haven't tried on later variants. I couldn't reproduce it with ZFS and couldn't always reproduce it with UFS. --=20 Peter Jeremy --lCAWRPmW1mITcIfM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCWxxEACgkQ/opHv/APuIen9QCfaDzZY3s1L/bCfgmidxyYMNAF HuwAmwei84eQ5OGLj6SkFxB3Lq/Q4T38 =b5Z1 -----END PGP SIGNATURE----- --lCAWRPmW1mITcIfM--