version v2.5.0.4.

Can you get the following photo?it's a screen of tcpdump(wireshark)??
In the screen: after some READDIR , the nfs clint begin to request so many 
GETATTR.
then the nfs clint give me a error cookie??a 0 cookie?? 





[root@test02 ~]# ganesha.nfsd -v
NFS-Ganesha Release = V2.5.0.4
nfs-ganesha compiled on Sep 28 2017 at 13:32:28
Release comment = GANESHA file server is 64 bits compliant and supports NFS 
v3,4.0,4.1 (pNFS) and 9P
Git HEAD = 75a222b8fe5c2b2386f04b90785566b40c649276
Git Describe = V2.5.0.4-57-g75a222b
[root@test02 ~]# 




------------------ Original ------------------
From:  "Frank Filz";<ffilz...@mindspring.com>;
Date:  Fri, Sep 29, 2017 10:25 PM
To:  
"qq"<475389...@qq.com>;"'nfs-ganesha-devel'"<nfs-ganesha-devel@lists.sourceforge.net>;

Subject:  RE: [Nfs-ganesha-devel] the cookie aways reset to 0 when readdir??so 
the readdir from 0 again??



 
What version of Ganesha? In V2.5 or later, the FSAL has to provide a cookie for 
each dirent.

 

Frank

 

From: qq [mailto:475389...@qq.com] 
Sent: Friday, September 29, 2017 2:41 AM
To: nfs-ganesha-devel <nfs-ganesha-devel@lists.sourceforge.net>
Subject: [Nfs-ganesha-devel] the cookie aways reset to 0 when readdir??so the 
readdir from 0 again??



 

Hi, i need a help.

I write a fsal??but the "ls" very slow??
In the log, the cookie will reset to be 0, when "ls" was running.
so the readdir from 0 again.

how to fix the bug?

"""
29/09/2017 14:25:14 : epoch 59cdb7ab : test02 : nfs-ganesha-16712[work-167] 
nfs4_op_readdir :NFS READDIR :F_DBG :zz2 dircount=8192 maxcount=29491 
cookie=157001                        estimated_num_entries=50
  41 29/09/2017 14:25:14 : epoch 59cdb7ab : test02 : nfs-ganesha-16712[work-65] 
nfs4_op_readdir :NFS READDIR :F_DBG :zz2 dircount=8192 maxcount=29491 
cookie=157003                         estimated_num_entries=50
  42 29/09/2017 14:25:14 : epoch 59cdb7ab : test02 : nfs-ganesha-16712[work-71] 
nfs4_op_readdir :NFS READDIR :F_DBG :zz2 dircount=8192 maxcount=29491 
cookie=157047                         estimated_num_entries=50
  43 29/09/2017 14:25:14 : epoch 59cdb7ab : test02 : 
nfs-ganesha-16712[work-174] nfs4_op_readdir :NFS READDIR :F_DBG :zz2 
dircount=8192 maxcount=29491 cookie=157093                        
estimated_num_entries=50
  44 29/09/2017 14:25:22 : epoch 59cdb7ab : test02 : 
nfs-ganesha-16712[work-191] nfs4_op_readdir :NFS READDIR :F_DBG :zz2 
dircount=8172 maxcount=29419 cookie=0                             
estimated_num_entries=50
"""



                                Virus-free. www.avast.com
------------------------------------------------------------------------------
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