[Gluster-devel] Could we not always call lookup for root_dir in fuse_getattr to improve performance?

2017-03-24 Thread Zhitao Li
Hello, everyone! I am now optimizing the performance of "ls". When there are many little files directly in mount point(root dir of glusterfs), I find that fuse_getattr takes near half time of total "ls". Strictly, the nodeid==1 check in fuse_getattr will call look operation instead of stat,

Re: [Gluster-devel] Could we not always call lookup for root_dir in fuse_getattr to improve performance?

2017-03-24 Thread Zhitao Li
Hello, Amar, It still fails in quorum test. The root inode resolution succeeds, and stat is called. It fails because of quorum check in afr translator. Sincerely, Zhitao From: Amar Tumballi Sent: Friday, March 24, 2017 10:24:53 PM To:

Re: [Gluster-devel] Could we not always call lookup for root_dir in fuse_getattr to improve performance?

2017-03-24 Thread Zhitao Li
Dear Amar, Thanks very much for your kind help! I have seen the patch you submit. I disable the check and do regression test locally. It indeed brings a bug in "tests/basic/afr/quorum.t"(for tests/ec/, there exists failure but it is hard to reappear the failure). For quorum test, it

Re: [Gluster-devel] [Gluster-infra] Dropping nightly build from download.gluster.org ?

2017-03-24 Thread Michael Scherer
Le vendredi 24 mars 2017 à 09:06 -0400, Amar Tumballi a écrit : > Can we spend some time next week on this? We can do it on IRC i guess, so > others interested can join too? I was planning to take a few days off, so next week might not work for me. > -Amar > > On Thu, Mar 23, 2017 at 5:29 PM,

Re: [Gluster-devel] Dropping nightly build from download.gluster.org ?

2017-03-24 Thread Michael Scherer
Le vendredi 24 mars 2017 à 09:53 -0400, Kaleb S. KEITHLEY a écrit : > On 03/24/2017 09:39 AM, Niels de Vos wrote: > > On Thu, Mar 23, 2017 at 05:29:05PM -0400, Michael Scherer wrote: > >> Another example: > >> pub/gluster/glusterfs has various directory for versions of glusterfs, > >> but also do

Re: [Gluster-devel] Could we not always call lookup for root_dir in fuse_getattr to improve performance?

2017-03-24 Thread Amar Tumballi
Test this patch https://review.gluster.org/#/c/16945/ On Fri, Mar 24, 2017 at 9:42 AM, Zhitao Li wrote: > Dear Amar, > > > Thanks very much for your kind help! > > > > I have seen the patch you submit. > > > I disable the check and do regression test locally. It indeed

[Gluster-devel] Gluster Limitation with ACL on Kernel NFS

2017-03-24 Thread ABHISHEK PALIWAL
Hi Team, I am using gluster with kernel nfs and found one limitation with Gluster volume don't know whether it is Bug or expected. Below is the scenario: I am mounting gluster volume as well as NFS volume with '-o acl' options I have tested gluster volume with ACLs and found that if we set

Re: [Gluster-devel] Dropping nightly build from download.gluster.org ?

2017-03-24 Thread Kaleb S. KEITHLEY
On 03/24/2017 09:39 AM, Niels de Vos wrote: > On Thu, Mar 23, 2017 at 05:29:05PM -0400, Michael Scherer wrote: >> Another example: >> pub/gluster/glusterfs has various directory for versions of glusterfs, >> but also do have libvirt, vagrant and nfs-ganesha, who are not version, >> and might be

Re: [Gluster-devel] Maintainers 2.0 Proposal

2017-03-24 Thread Pranith Kumar Karampuri
Do we also plan to publish similar guidelines for deciding on Project maintainer? On Fri, Mar 24, 2017 at 2:24 AM, Michael Scherer wrote: > Le samedi 18 mars 2017 à 16:47 +0530, Pranith Kumar Karampuri a écrit : > > On Sat, Mar 18, 2017 at 1:20 AM, Amar Tumballi

Re: [Gluster-devel] Dropping nightly build from download.gluster.org ?

2017-03-24 Thread Niels de Vos
On Thu, Mar 23, 2017 at 05:29:05PM -0400, Michael Scherer wrote: > Hi, > > so I am trying to run aide on a download.gluster.org mirror for more > security (rational being that if d.g.o is compromised a separate server > wouldn't, but that mean that we sync the data on a regular basis), and I >

Re: [Gluster-devel] Could we not always call lookup for root_dir in fuse_getattr to improve performance?

2017-03-24 Thread Amar Tumballi
Went through the code base again. Yes, as you said, we can get rid of fuse_getattr() not checking nodeid==1 path. Patch here: https://review.gluster.org/16944 -Amar On Fri, Mar 24, 2017 at 2:57 AM, Zhitao Li wrote: > Hello, everyone! > > > I am now optimizing the

Re: [Gluster-devel] [Gluster-infra] Dropping nightly build from download.gluster.org ?

2017-03-24 Thread Amar Tumballi
Can we spend some time next week on this? We can do it on IRC i guess, so others interested can join too? -Amar On Thu, Mar 23, 2017 at 5:29 PM, Michael Scherer wrote: > Hi, > > so I am trying to run aide on a download.gluster.org mirror for more > security (rational being

[Gluster-devel] Using Valgrind at translator level

2017-03-24 Thread jayakrishnan mm
Hi, I am experiencing some memory related problems with my own translator (client side). How can I use valgrind to specifically target my transalor. I have used valgrind --leak-check=yes glusterd valgrind --leak-check=yes glusterfs valgrind