Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jun 2015 05:56:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-fs@FreeBSD.org
Subject:   [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)
Message-ID:  <bug-200585-3630-kiVQhZwfIT@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-200585-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-200585-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=200585

Xin LI <delphij@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |delphij@FreeBSD.org

--- Comment #2 from Xin LI <delphij@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.



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