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