Re: A Problem of readdir-optimize

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux