You still don’t mention FSAL…


I’m suspecting non-unique cookies from the FSAL as a cause. You may want to 
turn on CACHE_INODE and NFS_READDIR to FULL_DEBUG to see what is going on. A 
tcpdump trace won’t show anything useful (since we won’t see what cookies are 
being provided for the missing directory entries).



Frank



From: pradeep.tho...@gmail.com [mailto:pradeep.tho...@gmail.com] On Behalf Of 
Pradeep
Sent: Tuesday, February 13, 2018 2:37 PM
To: Frank Filz <ffilz...@mindspring.com>
Cc: nfs-ganesha-devel <nfs-ganesha-devel@lists.sourceforge.net>
Subject: Re: [Nfs-ganesha-devel] READDIR doesn't return all entries.



Hi Frank/Sachin,



I will get back to you with tcpdump/logs if I can recreate it. It was around 
2000 directories and a "find" from the export root was issued before the "ls" 
from client.



Thanks,
Pradeep



On Tue, Feb 13, 2018 at 9:38 AM, Frank Filz <ffilz...@mindspring.com 
<mailto:ffilz...@mindspring.com> > wrote:

What FSAL? Is the test anything other than creating a large number of files 
(how many?) and then doing a readdir and comparing?



Frank



From: Pradeep [mailto:pradeeptho...@gmail.com <mailto:pradeeptho...@gmail.com> ]
Sent: Monday, February 12, 2018 5:36 PM
To: nfs-ganesha-devel <nfs-ganesha-devel@lists.sourceforge.net 
<mailto:nfs-ganesha-devel@lists.sourceforge.net> >
Subject: [Nfs-ganesha-devel] READDIR doesn't return all entries.



Hello,



I noticed that with large number of directory entries, READDIR does not return 
all entries. It happened with RC5; but works fine in RC2. I looked through the 
changes and the offending change seems to be this one:



https://github.com/nfs-ganesha/nfs-ganesha/commit/985564cbd147b6acc5dd6de61a3ca8fbc6062eda



(reverted the change and verified that all entries are returned without this 
change)



Still looking into why it broke READDIR for me. Any insights on debugging this 
would be helpful.



Thanks,

Pradeep






 
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon>

 
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon>
 Virus-free. www.avast.com

 
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon>



---
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