Summary: | r354398 causes panic in nfs_unmount during shutdown | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | rk <rk> | ||||||
Component: | kern | Assignee: | freebsd-fs (Nobody) <fs> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | kib, rk | ||||||
Priority: | --- | Keywords: | crash, regression | ||||||
Version: | 12.0-STABLE | ||||||||
Hardware: | amd64 | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
rk
2019-11-24 07:13:00 UTC
Notify committer of r354398. Created attachment 209509 [details]
Check for reclaimed vnode after lock
No panics during reboot/shutdown seen so far after applying the fix from attachment 209509 [details] (Check for reclaimed vnode after lock). Thanks.
A commit references this bug: Author: kib Date: Fri Nov 29 13:55:56 UTC 2019 New revision: 355210 URL: https://svnweb.freebsd.org/changeset/base/355210 Log: In nfs_lock(), recheck vp->v_data after lock before accessing it. We might race with reclaim, and then this is no longer a nfs vnode, in which case we do not need to handle deferred vnode_pager_setsize() either. Reported by: rk@ronald.org PR: 242184 Sponsored by: The FreeBSD Foundation MFC after: 3 days Changes: head/sys/fs/nfsclient/nfs_clvnops.c A commit references this bug: Author: kib Date: Mon Dec 2 00:39:59 UTC 2019 New revision: 355279 URL: https://svnweb.freebsd.org/changeset/base/355279 Log: MFC r355210: In nfs_lock(), recheck vp->v_data after lock before accessing it. PR: 242184 Changes: _U stable/12/ stable/12/sys/fs/nfsclient/nfs_clvnops.c |