[Gluster-users] A Problem of readdir-optimize
Nithya Balachandran
nbalacha at redhat.com
Thu Dec 28 15:25:42 UTC 2017
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 <flypen at 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 at gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20171228/f3102278/attachment.html>
More information about the Gluster-users
mailing list