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



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