diff options
| author | Rick Macklem <rmacklem@FreeBSD.org> | 2026-02-17 22:57:42 +0000 |
|---|---|---|
| committer | Rick Macklem <rmacklem@FreeBSD.org> | 2026-02-17 22:59:57 +0000 |
| commit | 935cf3284f520c90a63baaadb762caaa30084f5c (patch) | |
| tree | ca50ee96a885d86e16d8915bf3434ae25196cee6 /contrib/gdb/bfd/(public-mirror) | |
| parent | bc6c827078b7ab62271ce7ac1c4439b82fd2f98c (diff) | |
PR#293198 reports a hang within ZFS when exports
are being updated concurrently with a VOP_SETEXTATTR().
The hang appears to be caused by mishandling of the
z_teardown_lock, but fixing handling of this lock appears
to be a major effort. Since the hang occurs when
VFS_MOUNT() acquires a write/exclusive z_teardown_lock,
which rarely occurs, except when exports are being updated,
this patch avoids the VFS_MOUNT() call for this case.
Avoiding a VFS_MOUNT() call fixes the hang for the case
reported by PR#293198 and is also an optimization.
As such, this patch avoids the VFS_MOUNT() call when only exports
are being updated similar to what was already being done
within vnet prisons.
PR: 293198
Reviewed by: kib, markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D55318
Diffstat (limited to 'contrib/gdb/bfd/(public-mirror)')
0 files changed, 0 insertions, 0 deletions
