Subject: Re: nfsd: locking botch in op %d
To: Jason R Thorpe , Bill Studenmund <wrstuden@zembu.com>
From: Chuck Silvers <chuq@chuq.com>
List: tech-kern
Date: 03/13/2001 22:06:34
one of the functions of vnode locks is to provide POSIX atomic read/write
semantics, which is unneeded and undesirable for device vnodes.

-Chuck


On Tue, Mar 13, 2001 at 04:08:44PM -0800, Jason R Thorpe wrote:
> On Tue, Mar 13, 2001 at 02:29:05PM -0800, Bill Studenmund wrote:
> 
>  > That actually is the other way to fix the problem, though with doing this
>  > the vput really should be a vrele() (since otherwise you're implicitly
>  > relying on specfs using the nolock routines :-)
> 
> Is there any reason to keep using the "nolock" routines?  Well, a few
> things still use them.  But it seems like you want locking on e.g. spec
> nodes, right?
> 
> -- 
>         -- Jason R. Thorpe <thorpej@zembu.com>