On Thu, Nov 05, 2020 at 02:10:11PM -0800, Matthew DeVore wrote:
Did you have a chance to look at the reference counting problem
explained below?
I'm attaching a patch which I suspect is the right thing to do, and solves the
failed assertion for me. I'm not totally sure about it, though.
> > > At the risk of overloading this thread, I noticed a more alarming bug. I
added an
> > > assert in _mdcache_lru_unref to verify that the post-decremented refcount
was
> > > non-negative. The assert failure can be triggered trivially (with
FSAM_MEM, just
> > > mount the export and run "export foo > bar" in the root of
the export). When
Sorry, I meant to say `echo foo > bar`