[Bug 229958] ctld / zfs deadlock with 'zfs rename ...'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 6 08:37:11 UTC 2018


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

--- Comment #5 from Andriy Gapon <avg at 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.


More information about the freebsd-fs mailing list