On Wed, Mar 28, 2018 at 08:55:31AM +, Andriy Gapon wrote:
> +static __inline int
> +refcount_acquire_if_not_zero(volatile u_int *count)
What about refcount_acquire_nz()
> +static __inline int
> +refcount_release_if_not_last(volatile u_int *count)
refcount_release_nz()
Author: avg
Date: Wed Mar 28 08:55:31 2018
New Revision: 331666
URL: https://svnweb.freebsd.org/changeset/base/331666
Log:
ZFS vn_rele_async: catch up with the use of refcount(9) for the vnode use
count
It's not sufficient nor required to use the vnode interlock when
checking if we are