tech-kern archive

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

Re: Another force unmount failure



On Jul 18, 2015, at 1:35 PM, David Holland <dholland-tech%netbsd.org@localhost> wrote:

>>> 
>>> Either make vnode locks interruptible, or debug puffs.
>>> 
>>> I favor the former, but lost the argument a few years back. Others
>>> (including e.g. yamt) said no.
>> 
>> Even as not interruptible, I can call VOP_LOCK with LK_NOWAIT and loop
>> on it until I decide it is time to give up.
> 
> Busy-looping like that on a vnode lock is Wrong(TM).

FWIW, I would much rather get a panic than a lockup.

-dgl-


Home | Main Index | Thread Index | Old Index