Re: dangling vnode panic

2020-01-09 Thread Todd C . Miller
On Thu, 09 Jan 2020 23:03:37 +0100, Alexander Bluhm wrote: > That is why I have to keep the list alive while flushing it out. > So I came to the TAILQ solution. It seems like the best solution right now. > > The alternative would be to add another loop around the list processing. I > > think

Re: dangling vnode panic

2020-01-09 Thread Alexander Bluhm
On Thu, Jan 09, 2020 at 01:22:21PM -0500, Ted Unangst wrote: > Martin Pieuchot wrote: > > On 09/01/20(Thu) 10:46, Alexander Bluhm wrote: > > > Without this diff my regress machines became so unstable, that they > > > often do not finish the test run. > > > > > > With this diff, they run fine. No

Re: dangling vnode panic

2020-01-09 Thread Ted Unangst
Martin Pieuchot wrote: > On 09/01/20(Thu) 10:46, Alexander Bluhm wrote: > > Without this diff my regress machines became so unstable, that they > > often do not finish the test run. > > > > With this diff, they run fine. No regressions. > > Sadly this is a workaround. What is the issue? We're

Re: dangling vnode panic

2020-01-09 Thread Martin Pieuchot
mount point? > Any ok? > > bluhm > > On Sat, Jan 04, 2020 at 10:55:46PM +0100, Alexander Bluhm wrote: > > On my amd64 test machine regress/sys/kern/mount run-regress-unmount-busy > > triggers the dangling vnode panic regulary. Something has changed > > in

Re: dangling vnode panic

2020-01-09 Thread Alexander Bluhm
ess-unmount-busy > triggers the dangling vnode panic regulary. Something has changed > in the previous months that makes it more likely. > > Problem is that while flushing the mnt_vnodelist list, the unmount > process sleeps. Then active processes can write new dirty vnodes > to th

dangling vnode panic

2020-01-04 Thread Alexander Bluhm
Hi, On my amd64 test machine regress/sys/kern/mount run-regress-unmount-busy triggers the dangling vnode panic regulary. Something has changed in the previous months that makes it more likely. Problem is that while flushing the mnt_vnodelist list, the unmount process sleeps. Then active