> Date: Tue, 22 Nov 2022 17:47:44 +0000 > From: Miod Vallat <m...@online.fr> > > > Here is a diff. Maybe bluhm@ can try this on the macppc machine that > > triggered the original "vref used where vget required" problem? > > On a similar machine it panics after a few hours with: > > panic: uvn_flush: PGO_SYNCIO return 'try again' error (impossible) > > The trace (transcribed by hand) is > uvn_flush+0x820 > uvm_vnp_terminate+0x79 > vclean+0xdc > vgonel+0x70 > getnewvnode+0x240 > ffs_vget+0xcc > ffs_inode_alloc+0x13c > ufs_makeinode+0x94 > ufs_create+0x58 > VOP_CREATE+0x48 > vn_open+0x188 > doopenat+0x1b4
Ah right, there is another path where we end up with a refcount of zero. Should be fixable, but I need to think about this for a bit.