Could you post that patch to Gerrithub?
Frank
-----Original Message-----
From: Matthew DeVore [mailto:matvore@comcast.net]
Sent: Friday, November 6, 2020 4:41 PM
To: Daniel Gryniewicz <dang(a)redhat.com>
Cc: Frank Filz <ffilzlnx(a)mindspring.com>; devel(a)lists.nfs-ganesha.org;
bga(a)google.com; ankurag(a)google.com
Subject: [NFS-Ganesha-Devel] Re: Running pynfs on macOS
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`