aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/cloudabi64/cloudabi64_module.c
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2026-02-17 22:57:42 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2026-02-17 22:59:57 +0000
commit935cf3284f520c90a63baaadb762caaa30084f5c (patch)
treeca50ee96a885d86e16d8915bf3434ae25196cee6 /sys/compat/cloudabi64/cloudabi64_module.c
parentbc6c827078b7ab62271ce7ac1c4439b82fd2f98c (diff)
vfs_mount.c: Don't call VFS_MOUNT() if only exports are being updatedHEADmain
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 'sys/compat/cloudabi64/cloudabi64_module.c')
0 files changed, 0 insertions, 0 deletions