Hi Paul, A few questions: What type of volume is this and what client protocol are you using? What version of Gluster are you using?
Regards, Nithya On 28 December 2017 at 20:09, Paul <fly...@gmail.com> wrote: > Hi, All, > > If I set cluster.readdir-optimize to on, the performance of "ls" is > better, but I find one problem. > > # ls > # ls > files.1 files.2 file.3 > > I run ls twice. At the first time, ls returns nothing. At the second time, > ls returns all file names. > > If turn off cluster.readdir-optimize, I don't see this problem. > > Is there a way to solve this problem? If ls doesn't return the correct > file names, > > Thanks, > Paul > > _______________________________________________ > Gluster-users mailing list > Gluster-users@gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-users >
_______________________________________________ Gluster-users mailing list Gluster-users@gluster.org http://lists.gluster.org/mailman/listinfo/gluster-users