Re: [Gluster-devel] Adding one variable to inode structure

2017-06-04 Thread Tahereh Fattahi
Thank you I see that this xlator is loaded in server side. How can I access to variable in index xlator in client side? is it correct? getfattr trusted.index.myvar On Mon, Jun 5, 2017 at 10:00 AM, Pranith Kumar Karampuri < pkara...@redhat.com> wrote: > > > On Mon, Jun 5, 2017 at 9:55 AM, Tahereh

Re: [Gluster-devel] [Qusetions] How profile affect glusterfs performance?

2017-06-04 Thread Xie Changlong
在 6/5/2017 1:22 PM, Pranith Kumar Karampuri 写道: On Mon, Jun 5, 2017 at 8:29 AM, Xie Changlong wrote: 在 6/5/2017 10:50 AM, Pranith Kumar Karampuri 写道: I think there have been improvements here to use special instructions to if "special instructions" means profile

Re: [Gluster-devel] Adding one variable to inode structure

2017-06-04 Thread Pranith Kumar Karampuri
On Mon, Jun 5, 2017 at 9:55 AM, Tahereh Fattahi wrote: > Assume that one client wants to search it's directories for video files. > I want use something that helps this client to search just directories > that have this kind of file. > like a extended attribute, but I

Re: [Gluster-devel] [Qusetions] How profile affect glusterfs performance?

2017-06-04 Thread Pranith Kumar Karampuri
On Mon, Jun 5, 2017 at 8:29 AM, Xie Changlong wrote: > 在 6/5/2017 10:50 AM, Pranith Kumar Karampuri 写道: > >> I think there have been improvements here to use special instructions to >> > > if "special instructions" means profile command or more? Also can you > point

Re: [Gluster-devel] Adding one variable to inode structure

2017-06-04 Thread Tahereh Fattahi
Assume that one client wants to search it's directories for video files. I want use something that helps this client to search just directories that have this kind of file. like a extended attribute, but I want this attribute be set by server not by client. I dont know which xlator is suitable

Re: [Gluster-devel] [Qusetions] How profile affect glusterfs performance?

2017-06-04 Thread Xie Changlong
在 6/5/2017 10:50 AM, Pranith Kumar Karampuri 写道: I think there have been improvements here to use special instructions to if "special instructions" means profile command or more? Also can you point which commit? do the increments instead of taking spin-locks and doing increments. So may be

Re: [Gluster-devel] [Qusetions] How profile affect glusterfs performance?

2017-06-04 Thread Pranith Kumar Karampuri
I think there have been improvements here to use special instructions to do the increments instead of taking spin-locks and doing increments. So may be it doesn't affect performance as much anymore. I think if you don't see a difference, then the enhancements are doing a good job :-). Which

Re: [Gluster-devel] Adding one variable to inode structure

2017-06-04 Thread Pranith Kumar Karampuri
This sounds hacky. In general anything that is specific about an inode, we try to store it in inode-ctx. Who uses this information about presence of video-file and how? May be with that knowledge there could be a possibility we can improve the solution. Do let us know the complete problem you are

[Gluster-devel] [Qusetions] How profile affect glusterfs performance?

2017-06-04 Thread Xie Changlong
Hi all It's said[1] that profile based on io-stats, if you enable this feature, it can affect system performance while the profile information is being collected. I do some tests on my two linux+vmware virtual machine with replica(lack of resources ). And the results shows no diffrence to

[Gluster-devel] [Qusetions] How profile influnce glusterfs performance?

2017-06-04 Thread Xie Changlong
Hi all It's said[1] that profile based on io-stats, if you enable this feature, it can affect system performance while the profile information is being collected. I do some tests on my two linux+vmware virtual machine with replica(lack of resources :( ). And the results shows no

[Gluster-devel] Weekly Untriaged Bugs

2017-06-04 Thread jenkins
[...truncated 6 lines...] https://bugzilla.redhat.com/1458582 / cli: add all as volume option in gluster volume get usage https://bugzilla.redhat.com/1457724 / common-ha: IPv6 in ganesha-ha.conf doesn't work https://bugzilla.redhat.com/1455912 / core: [Brick Multiplexing] heal info shows the

[Gluster-devel] Adding one variable to inode structure

2017-06-04 Thread Tahereh Fattahi
Hi I want to add one boolean field to inode structure for a directory. when it is 1 it means that directory has one or more video file. when it is 0 it means that there is no video file in that directory. I can add this variable to inode structure and update it in server side, in posix_create

Re: [Gluster-devel] Regression with brick multiplex turned on failing or aborted

2017-06-04 Thread Atin Mukherjee
On Sat, May 27, 2017 at 2:57 PM, Atin Mukherjee wrote: > > On Sat, 27 May 2017 at 09:55, Nigel Babu wrote: > >> FYI: There are now emails to gluster-maintainers@ about this. If you'd >> like to help diagnose/fix the problems, please see the job and logs