[Bug 200585] [nlm] Fatal trap 9 when printing out KASSERT trying to run umount -f on an NFS share while it's trying to print out "lockd not responding" in nlm(4)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jun 2 05:56:58 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200585
Xin LI <delphij at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |delphij at FreeBSD.org
--- Comment #2 from Xin LI <delphij at FreeBSD.org> ---
I think the LOR may be unrelated.
This happens because umount -f (nfs_unmount in
sys/fs/nfsclient/nfs_clvfsops.c:1522) free's the mountpoint structure (1579)
but nlm have kept a reference to it.
In order to fix this I think we would need a way similar to
newnfs_nmcancelreqs() that cancells all lockd RPCs that are associated with the
mountpoint (i.e. abort all lock requests that are related to the unmounting
mountpoint) which is probably non-trivial with the current structure.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-fs
mailing list