[Gluster-users] A Problem of readdir-optimize

Paul flypen at gmail.com
Thu Dec 28 14:39:40 UTC 2017

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20171228/d633f258/attachment.html>

More information about the Gluster-users mailing list