2010/11/24 Konstantin Belousov <k...@freebsd.org>:
> Author: kib
> Date: Wed Nov 24 12:30:41 2010
> New Revision: 215797
> URL: http://svn.freebsd.org/changeset/base/215797
>
> Log:
>  Allow shared-locked vnode to be passed to vunref(9).
>  When shared-locked vnode is supplied as an argument to vunref(9) and
>  resulting usecount is 0, set VI_OWEINACT and do not try to upgrade vnode
>  lock. The later could cause vnode unlock, allowing the vnode to be
>  reclaimed meantime.

Thanks a lot, I really appreciate that.

The story here is that kib really wanted to commit another patch
aiming for the vnode lock upgrade with a modify to lockmgr that I
wasn't happy with (or more specifically that I really wished could be
carried on in a different way).

As this is a time-critical fix for him, that is probabilly a better compromise.
I'll try to find some time and go with the full patchset I have in
mind, changing this to using upgrade.

Attilio


-- 
Peace can only be achieved by understanding - A. Einstein
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to