Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Dec 2018 08:37:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 229958] ctld / zfs deadlock with 'zfs rename ...'
Message-ID:  <bug-229958-3630-V6KPkhvVL3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229958-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229958-3630@https.bugs.freebsd.org/bugzilla/>

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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229958

--- Comment #5 from Andriy Gapon <avg@FreeBSD.org> ---
I'd say that there is a worm can of problems related to ZVOL support in
FreeBSD.
One issue is that we use spa_namespace_lock as zfsdev_state_lock.
Another is that we call functions like zvol_rename_minors() from a sync-ing
context.
The locking logic in ZVOL code is really non-obvious because of all the
interactions, including GEOM.

Once upon a time, I tried solve one part of the problems with this change
https://reviews.freebsd.org/D7179
But I am not sure if that's the right solution.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229958-3630-V6KPkhvVL3>