On 04/10/2016 07:53 AM, steve landiss wrote:
> Thanks Mat!t... Where can I see an example of how Gluster is
> invalidating the upcalls?
You could refer to "src/FSAL/FSAL_GLUSTER/fsal_up.c" for upcall routines
used by Gluster.
>
> And how would I bound the time to restat to 0? Where is that set?
To disable the caching (or configure the time), use the below config
option in ganesha.conf file.
CACHEINODE { Attr_Expiration_Time = 0; }
Thanks,
Soumya
>
> Thanks
> Steve
>
>
> On Sunday, April 10, 2016 8:08 AM, Matt Benjamin <[email protected]>
> wrote:
>
>
> Hi Steve,
>
> 1. The underlying problem is lack of invalidates with VFS. Strategies
> for providing them have been considered, but I don't know of any actual
> work going on to provide them. FSALs like Gluster and GPFS implement
> Ganesha's invalidate upcalls and would avoid this. Also, you -can-
> bound the time to restat (even make it 0, or no cache).
>
> 2. I'm not sure, other than disabling caching. It's not intended
> behavior, obviously.
>
> Matt
>
> ----- Original Message -----
> > From: "steve landiss" <[email protected]
> <mailto:[email protected]>>
> > To: [email protected]
> <mailto:[email protected]>,
> [email protected]
> <mailto:[email protected]>
> > Sent: Saturday, April 9, 2016 4:52:52 AM
> > Subject: [Nfs-ganesha-devel] Issue with readdir cache in VFS
> >
> > I am using nfs-ganesha with the VFS backend.
> >
> > If I create a file under the actual path that is being exported, it
> takes a
> > few seconds (maybe 30?) to show up in the export.
> >
> > The bigger problem is, if the client is continually doing a readdir
> on that
> > export, it never shows up because the case is continually being marked as
> > up-to-date.
> >
> > The way to repro this is to simply export a directory, and have a
> client do a
> > ls on that export in a tight loop. Any file you create in the
> original dir
> > will never show up.
> >
> > How do I disable this cace?
>
> >
> >
> ------------------------------------------------------------------------------
> > Find and fix application performance issues faster with Applications
> Manager
> > Applications Manager provides deep performance insights into multiple
> tiers
> > of
> > your business applications. It resolves application problems quickly and
> > reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
> > gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
> > _______________________________________________
> > Nfs-ganesha-devel mailing list
> > [email protected]
> <mailto:[email protected]>
> > https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
> >
>
> --
> Matt Benjamin
> Red Hat, Inc.
> 315 West Huron Street, Suite 140A
> Ann Arbor, Michigan 48103
>
> http://www.redhat.com/en/technologies/storage
>
> tel. 734-707-0660
> fax. 734-769-8938
> cel. 734-216-5309
>
>
>
>
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
> gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
>
>
>
> _______________________________________________
> Nfs-ganesha-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
_______________________________________________
Nfs-ganesha-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel