tech-kern archive

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

Re: VOP_*LOCK* cleanup proposal



On Tue, Jun 22, 2010 at 03:24:33PM +0000, Eduardo Horvath wrote:
> On Tue, 22 Jun 2010, Juergen Hannken-Illjes wrote:
> 
> > The vnode lock operations still carry some arguments and semantics from
> > our old lockmgr(9).  I propose to clean them up as:
> > 
> > 1) VOP_LOCK(vp, flags): Limit the set of allowed flags to LK_EXCLUSIVE,
> >    LK_SHARED and LK_NOWAIT.  LK_INTERLOCK is no longer allowed as it
> >    makes no sense here.
> 
> Have you tested these changes with LFS to make sure you haven't added any 
> new deadlocks or hangs?

LOL.

One of my confidence tests is a concurrent mix of: fsx + fsstress + bonnie +
postmark.  Eduardo I encourage you to try that with LFS on a spicy machine.
Let us know how you get on.



Home | Main Index | Thread Index | Old Index