On 03/08/2015 16:29, Fabian Keil wrote:
> Andriy Gapon <a...@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

Committed.  Thank you!

-- 
Andriy Gapon
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to