tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: More duplicate code, vnode locking question



On Tue, Apr 21, 2009 at 2:52 AM, Elad Efrat <elad%netbsd.org@localhost> wrote:
> On Tue, Apr 21, 2009 at 1:57 AM, Antti Kantee <pooka%cs.hut.fi@localhost> 
> wrote:
>
>> That is an unnecessarily complex interface.  Just require that the vnode
>> is always (un)locked.
>
> Okay, I'll do that.

Forgot to ask...

What's the preference? at the moment, only efs has the vnode locked at
this point, and all other file-systems vn_lock()/VOP_UNLOCK() around the
VOP_ACCESS() call. Do we change efs or everyone else?

Thanks,

-e.


Home | Main Index | Thread Index | Old Index