On Mon, Aug 03, 2015 at 04:20:04PM +0300, Andriy Gapon 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.
FYI, I'm hitting this deadlock on my laptop. Reverting the change fixes
the problem.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://mobter.com

Attachment: pgpQSZVhmhx0p.pgp
Description: PGP signature

Reply via email to