Re: [Gluster-devel] Query regards to heal xattr heal in dht

2016-09-16 Thread Mohit Agrawal
> >> > Cc: "Gluster Devel" , "Mohit Agrawal" < >> moagr...@redhat.com> >> > Sent: Thursday, September 15, 2016 4:54:25 PM >> > Subject: Re: [Gluster-devel] Query regards to heal xattr heal in dht >> > >> &

Re: [Gluster-devel] Query regards to heal xattr heal in dht

2016-09-15 Thread Nithya Balachandran
, "Mohit Agrawal" < > moagr...@redhat.com> > > Sent: Thursday, September 15, 2016 4:54:25 PM > > Subject: Re: [Gluster-devel] Query regards to heal xattr heal in dht > > > > > > > > On 15/09/16 11:31, Raghavendra G wrote: > > >

Re: [Gluster-devel] Query regards to heal xattr heal in dht

2016-09-15 Thread Raghavendra Gowdappa
- Original Message - > From: "Xavier Hernandez" > To: "Raghavendra G" , "Nithya Balachandran" > > Cc: "Gluster Devel" , "Mohit Agrawal" > > Sent: Thursday, September 15, 2016 4:54:25 PM > Subject: Re: [Gluster-d

Re: [Gluster-devel] Query regards to heal xattr heal in dht

2016-09-15 Thread Xavier Hernandez
On 15/09/16 11:31, Raghavendra G wrote: On Thu, Sep 15, 2016 at 12:02 PM, Nithya Balachandran mailto:nbala...@redhat.com>> wrote: On 8 September 2016 at 12:02, Mohit Agrawal mailto:moagr...@redhat.com>> wrote: Hi All, I have one another solution to heal user xattr

Re: [Gluster-devel] Query regards to heal xattr heal in dht

2016-09-15 Thread Raghavendra G
On Thu, Sep 15, 2016 at 12:02 PM, Nithya Balachandran wrote: > > > On 8 September 2016 at 12:02, Mohit Agrawal wrote: > >> Hi All, >> >>I have one another solution to heal user xattr but before implement it >> i would like to discuss with you. >> >>Can i call function (dht_dir_xattr_heal

Re: [Gluster-devel] Query regards to heal xattr heal in dht

2016-09-14 Thread Pranith Kumar Karampuri
On Thu, Sep 15, 2016 at 12:02 PM, Nithya Balachandran wrote: > > > On 8 September 2016 at 12:02, Mohit Agrawal wrote: > >> Hi All, >> >>I have one another solution to heal user xattr but before implement it >> i would like to discuss with you. >> >>Can i call function (dht_dir_xattr_heal

Re: [Gluster-devel] Query regards to heal xattr heal in dht

2016-09-14 Thread Nithya Balachandran
On 8 September 2016 at 12:02, Mohit Agrawal wrote: > Hi All, > >I have one another solution to heal user xattr but before implement it > i would like to discuss with you. > >Can i call function (dht_dir_xattr_heal internally it is calling > syncop_setxattr) to heal xattr in dht_getxattr_c

Re: [Gluster-devel] Query regards to heal xattr heal in dht

2016-09-10 Thread Mohit Agrawal
Hi All, I have upload a new patch (http://review.gluster.org/#/c/15456/),Please do the code review. Regards Mohit Agrawal On Thu, Sep 8, 2016 at 12:02 PM, Mohit Agrawal wrote: > Hi All, > >I have one another solution to heal user xattr but before implement it > i would like to discuss

Re: [Gluster-devel] Query regards to heal xattr heal in dht

2016-09-07 Thread Mohit Agrawal
Hi All, I have one another solution to heal user xattr but before implement it i would like to discuss with you. Can i call function (dht_dir_xattr_heal internally it is calling syncop_setxattr) to heal xattr in dht_getxattr_cbk in last after make sure we have a valid xattr. In functi

Re: [Gluster-devel] Query regards to heal xattr heal in dht

2016-09-07 Thread Pranith Kumar Karampuri
On Wed, Sep 7, 2016 at 9:46 PM, Mohit Agrawal wrote: > Hi Pranith, > > > In current approach i am getting list of xattr from first up volume and > update the user attributes from that xattr to > all other volumes. > > I have assumed first up subvol is source and rest of them are sink as we > are

Re: [Gluster-devel] Query regards to heal xattr heal in dht

2016-09-07 Thread Mohit Agrawal
Hi Pranith, In current approach i am getting list of xattr from first up volume and update the user attributes from that xattr to all other volumes. I have assumed first up subvol is source and rest of them are sink as we are doing same in dht_dir_attr_heal. Regards Mohit Agrawal On Wed, Sep 7

Re: [Gluster-devel] Query regards to heal xattr heal in dht

2016-09-07 Thread Pranith Kumar Karampuri
hi Mohit, How does dht find which subvolume has the correct list of xattrs? i.e. how does it determine which subvolume is source and which is sink? On Wed, Sep 7, 2016 at 2:35 PM, Mohit Agrawal wrote: > Hi, > > I am trying to find out solution of one problem in dht specific to user > xa

[Gluster-devel] Query regards to heal xattr heal in dht

2016-09-07 Thread Mohit Agrawal
Hi, I am trying to find out solution of one problem in dht specific to user xattr healing. I tried to correct it in a same way as we are doing for healing dir attribute but i feel it is not best solution. To find a right way to heal xattr i want to discuss with you if anyone does have bette