NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/46221: Kernel panic in NFS server code
The following reply was made to PR kern/46221; it has been noted by GNATS.
From: "J. Hannken-Illjes" <hannken%eis.cs.tu-bs.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/46221: Kernel panic in NFS server code
Date: Fri, 23 Mar 2012 10:47:36 +0100
On Mar 23, 2012, at 10:35 AM, Manuel Bouyer wrote:
> So it got a clean vnode. This is bad.
> I suspect ufs_ihashget() is returnning the clean vnode; otherwise it =
has to be
> in ffs_vget() itself.
I would expext ufs_fhtovp -> ffs_vget -> ufs_ihashget -> vget and then =
the
window between mutex_exit(vp->v_interlock) and vn_lock(vp, flags).
It is asserted not VI_CLEAN before the mutex_exit() and definitely =
VI_CLEAN
after the vn_lock().
See my previous message on changing vn_lock() to return invalid vnodes
only when the caller requested it by setting LK_RETRY.
--
Juergen Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig =
(Germany)=
Home |
Main Index |
Thread Index |
Old Index