What code level?


Your own FSAL?



Unfortunately, mdcache can not be completely disabled because the handle cache 
is required.



Are you also setting fileid in the fsal_obj_handle? The fileid, fsid, and type 
attributes are taken from the fsal_obj_handle rather than struct attrlist.



This allows several places that only need these immutable attributes to access 
without having to acquire the attribute_lock.



Frank



From: Jyoti Sharma [mailto:jyoti.mic...@gmail.com]
Sent: Friday, August 11, 2017 11:56 AM
To: nfs-ganesha-devel@lists.sourceforge.net
Subject: Re: [Nfs-ganesha-devel] How to disable MDCACHE completely in ganesha 
2.5.1 from the configuration?




The observation that I am trying to troubleshoot is this:

I am setting fsalattr->valid_mask |= ATTRS_POSIX; and fsalattr->fileid to a 
valid non-zero value. I print those in FSAL log and it comes as expected before 
going on wire.
But in pcap trace I see that the value sent is zero. On the client trace it 
shows up as "nfs_get_root: get root inode failed".

Any direction to troubleshoot is appreciated.



Regards.



On Sat, Aug 12, 2017 at 12:11 AM, Jyoti Sharma <jyoti.mic...@gmail.com 
<mailto:jyoti.mic...@gmail.com> > wrote:

Hi,



Is there an option to disable caching from the configuration files?

I am debugging an issue and want to rule out that caching is causing trouble.

Thanks.





---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to