Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2013 22:45:57 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        freebsd-fs@FreeBSD.org, zfs-devel@FreeBSD.org
Subject:   Re: zfs_rename: another zfs+vfs deadlock
Message-ID:  <20130717194557.GU5991@kib.kiev.ua>
In-Reply-To: <51E679FD.3040306@FreeBSD.org>
References:  <51E679FD.3040306@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--/Isdj7O9hWi8F9Bn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 17, 2013 at 02:03:25PM +0300, Andriy Gapon wrote:
> A scenario to reproduce this bug could be like this.
> mkdir a
> mkdir a/b
> mv some-file a/b/ (in parallel with) stat a/b
> Of course it would have to be repeated many times to hit the right timing
> window.  Also, namecache could interfere with this scenario, but I am not=
 sure.
>=20

There is no questions or proposals on how to approach the fix, JFYI mail ?

I recommend you to look at the ufs_checkpath() and its use in the
ufs_rename().

--/Isdj7O9hWi8F9Bn
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iQIcBAEBAgAGBQJR5vR0AAoJEJDCuSvBvK1BevYP/03MlbINCVbX1tI9KuT02IPF
KK1YPWykvf11h/GmeONiZv3qZjvYWe9jwkga4f9Hrb6DjAhIZS+3MuIwLK12yANd
xfNNFF7XMHcoxyvuF4wDeufgn04ttRgREV0vaDFnODL+fMhzuz7sfjXI4lM9x6+0
nZaAjsS8eR2rYgC2z0oPRyBK+/mMldayM5FWUXBynLpkjgwlk7XP7A6BX9Fw7Mtp
vFVKtGSg613ugUYZWwgI5gzJbUjtGCO7l6gQyYQCDGBeetWmyPLRHfz2aS+KsPEI
cpG5vi7ruXcA9KMUg8jW9M+9qyMcCKWsnkkTUcpUOXNhbpDMaRKthGM1MVSu8HA6
Q1KfdVuXWPYgg8GJvrBXo6UjgPQmzp/Gw2a4SE/DcHhZ4ouusU0lxX0TOErf+wHW
4i8vWCJO4zk7HIpX546wLqF7eOzDSGJ3VdCkWNheeO6ca7f8wAW8f2/8mD1iBdZo
s3wcGSfAKcYXJMX5J7SwTtFtv8V36lU4+XxOo0KiW/tDTu07sPyo7Zgw6iRwnlr+
+KYJzqTI0RftjD0lKlJPYZJTSYIPYffzu9fweiyrO9BbzQf/k+amDK00k30oy1D9
zf0olSwJN+2FhfnzQJf9P+3Urq10JilpmH4xJwuy3M8yKtqQ/eLh4no2ojAORErl
nr17M0hGUNV9MUHmaDwL
=zpSb
-----END PGP SIGNATURE-----

--/Isdj7O9hWi8F9Bn--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130717194557.GU5991>