From Karan:
> We had a similar issue when we were certifying gluster + milestone. But the issue got resolved when we disabled readdir-ahead. Looks like the >issue is in readdir code path.
Paul, can you try turning off performance.readdir-ahead and see if the issue persists?
On 29 December 2017 at 19:14, Paul <flypen@xxxxxxxxx> wrote:
Hi Nithya,GlusterFS version is 3.11.0, and we use the native client of GlusterFS. Please see the below information.$gluster v info volVolume Name: volType: Distributed-ReplicateVolume ID: d59bd014-3b8b-411a-8587-ee36d254f755 Status: StartedSnapshot Count: 0Number of Bricks: 90 x 2 = 180Transport-type: tcp,rdmaBricks:...Options Reconfigured:performance.force-readdirp: falsedht.force-readdirp: offperformance.read-ahead: onperformance.client-io-threads: ondiagnostics.client-sys-log-level: CRITICAL cluster.entry-self-heal: oncluster.metadata-self-heal: oncluster.data-self-heal: oncluster.self-heal-daemon: enableperformance.readdir-ahead: ondiagnostics.client-log-level: INFOdiagnostics.brick-log-level: INFOcluster.lookup-unhashed: onperformance.parallel-readdir: oncluster.readdir-optimize: offperformance.write-behind-window-size: 32MB performance.cache-refresh-timeout: 5 features.inode-quota: offfeatures.quota: offuser.ftp.anon: NOuser.vol.snapshot: enableuser.nfsganesha: enablefeatures.trash-internal-op: offfeatures.trash: offdiagnostics.stats-dump-interval: 10 server.event-threads: 16client.event-threads: 8server.keepalive-count: 1server.keepalive-interval: 1server.keepalive-time: 2transport.keepalive: 1client.keepalive-count: 1client.keepalive-interval: 1client.keepalive-time: 2features.cache-invalidation: offnetwork.ping-timeout: 30user.smb.guest: nouser.id: 8148nfs.disable: onsnap-activate-on-create: enableThanks,PaulOn Thu, Dec 28, 2017 at 11:25 PM, Nithya Balachandran <nbalacha@xxxxxxxxxx> wrote: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,NithyaOn 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# lsfiles.1 files.2 file.3I 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