svn commit: r285021 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

Fabian Keil freebsd-listen at fabiankeil.de
Mon Aug 3 13:30:12 UTC 2015


Andriy Gapon <avg at FreeBSD.org> wrote:

> On 30/07/2015 10:24, K. Macy wrote:
> > Just FYI this change introduces a deadlock with with the
> > spa_namespace_lock. Mount will be holding this lock while trying to
> > acquire the spa_namespace_lock. zfskern on the other hand holds the
> > spa_namespace_lock when calling zfs_freebsd_access  which in turn
> > tries to acquire the teardown lock.
> 
> I missed the fact that zpool.cache file is being written with spa_namespace_lock
> held.
> I'll try to either resolve the problem in the next day or I will revert the change.

BTW, there's another (unrelated) spa_namespace_lock issue in spa_import_rootpool():
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198563

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20150803/dd6e0bf3/attachment.bin>


More information about the svn-src-head mailing list