Hello,
</snip>
>
> > The vnode is not locked in this path
> > either so it won't end up waiting on the ongoing vclean().
>
> That leads to an interesting question: should we serialize device access
> at the vnode level or should we generalize the existing "solution" and
> assume that the descriptor can be NULL/invalid at the "pseudo-driver"
> level?
>
my preference is to fix it at pseudo-driver level. Dealing with it at driver
level keeps scope of locks small. I'm just afraid the `big lock` on vnode
may
bite us later.
regards
sashan