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: Matthias Scheler <tron%zhadum.org.uk@localhost>
To: NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
Cc:
Subject: Re: kern/46221: Kernel panic in NFS server code
Date: Wed, 4 Apr 2012 12:56:00 +0100
On Fri, Mar 23, 2012 at 04:55:02PM +0000, J. Hannken-Illjes wrote:
> On Mar 23, 2012, at 4:15 PM, David Holland wrote:
>
> > On Fri, Mar 23, 2012 at 09:05:04AM +0000, J. Hannken-Illjes wrote:
> >> Please try the attached diff that changes vn_lock() to return an invalid
> >> vnode only if the caller requested it by setting LK_RETRY.
> >
> > Is this really what we want? Most callers of vn_lock don't check for
> > error.
>
> For now it should fix the error. Any caller of vn_lock() has to either
> check for error OR pass LK_RETRY. I'm not aware of any call violating
> this rule.
My NFS server is now up for almost 12 days without problems. As my
belts and braces fix in ufs_fhtovp() didn't produce any kernel messages
it seems that Juergen's patch indeed prevents the problem from happening.
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
Home |
Main Index |
Thread Index |
Old Index