zfs_rename: another zfs+vfs deadlock
Konstantin Belousov
kostikbel at gmail.com
Wed Jul 17 19:46:05 UTC 2013
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.
>
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().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/zfs-devel/attachments/20130717/db08e35d/attachment.sig>
More information about the zfs-devel
mailing list