[Gluster-users] A Problem of readdir-optimize
flypen at gmail.com
Fri Dec 29 13:44:45 UTC 2017
GlusterFS version is 3.11.0, and we use the native client of GlusterFS.
Please see the below information.
$gluster v info vol
Volume Name: vol
Volume ID: d59bd014-3b8b-411a-8587-ee36d254f755
Snapshot Count: 0
Number of Bricks: 90 x 2 = 180
On Thu, Dec 28, 2017 at 11:25 PM, Nithya Balachandran <nbalacha at redhat.com>
> 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?
> 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,
>> Gluster-users mailing list
>> Gluster-users at gluster.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gluster-users